src/eric7/Project/Project.py

branch
eric7
changeset 9235
b5fe898e171f
parent 9221
bf71ee032bb4
child 9264
18a7312cfdb3
child 9287
ce3ceb47300c
equal deleted inserted replaced
9234:97bdad5be46d 9235:b5fe898e171f
4882 self.blackCheckFormattingAct.setWhatsThis( 4882 self.blackCheckFormattingAct.setWhatsThis(
4883 self.tr( 4883 self.tr(
4884 "<b>Check Code Formatting</b>" 4884 "<b>Check Code Formatting</b>"
4885 "<p>This shows a dialog to enter parameters for the format check run" 4885 "<p>This shows a dialog to enter parameters for the format check run"
4886 " and performs a check, if the project sources need to be reformatted" 4886 " and performs a check, if the project sources need to be reformatted"
4887 " using Black'.</p>" 4887 " using 'Black'.</p>"
4888 ) 4888 )
4889 ) 4889 )
4890 self.blackCheckFormattingAct.triggered.connect( 4890 self.blackCheckFormattingAct.triggered.connect(
4891 lambda: self.__performFormatWithBlack(BlackFormattingAction.Check) 4891 lambda: self.__performFormatWithBlack(BlackFormattingAction.Check)
4892 ) 4892 )
4909 self.blackDiffFormattingAct.setWhatsThis( 4909 self.blackDiffFormattingAct.setWhatsThis(
4910 self.tr( 4910 self.tr(
4911 "<b>Diff Code Formatting</b>" 4911 "<b>Diff Code Formatting</b>"
4912 "<p>This shows a dialog to enter parameters for the format diff run and" 4912 "<p>This shows a dialog to enter parameters for the format diff run and"
4913 " generates a unified diff of potential project source reformatting" 4913 " generates a unified diff of potential project source reformatting"
4914 " using Black'.</p>" 4914 " using 'Black'.</p>"
4915 ) 4915 )
4916 ) 4916 )
4917 self.blackDiffFormattingAct.triggered.connect( 4917 self.blackDiffFormattingAct.triggered.connect(
4918 lambda: self.__performFormatWithBlack(BlackFormattingAction.Diff) 4918 lambda: self.__performFormatWithBlack(BlackFormattingAction.Diff)
4919 ) 4919 )

eric ide

mercurial