PyInstallerInterface/PyInstallerConfigDialog.py

branch
eric7
changeset 55
3794f1ca53af
parent 54
359e2d772474
child 58
8bfeb70bcdc3
--- a/PyInstallerInterface/PyInstallerConfigDialog.py	Sat Dec 23 15:48:50 2023 +0100
+++ b/PyInstallerInterface/PyInstallerConfigDialog.py	Sat Dec 23 16:30:39 2023 +0100
@@ -83,13 +83,11 @@
         self.iconFilePicker.setDefaultDirectory(self.__project.getProjectPath())
         if isMacPlatform():
             self.iconFilePicker.setFilters(
-                self.tr("Icon Files (*.icns);;" "All Files (*)")
+                self.tr("Icon Files (*.icns);;All Files (*)")
             )
         elif isWindowsPlatform():
             self.iconFilePicker.setFilters(
-                self.tr(
-                    "Icon Files (*.ico);;" "Executable Files (*.exe);;" "All Files (*)"
-                )
+                self.tr("Icon Files (*.ico);;Executable Files (*.exe);;All Files (*)")
             )
 
         # disable platform specific tabs
@@ -319,7 +317,7 @@
         self.buttonBox.button(QDialogButtonBox.StandardButton.Ok).setEnabled(enable)
 
     @pyqtSlot(bool)
-    def on_selectedScriptButton_toggled(self, checked):
+    def on_selectedScriptButton_toggled(self, checked):  # noqa: U100
         """
         Private slot to handle changes of the radio button state.
 
@@ -329,7 +327,7 @@
         self.__updateOkButton()
 
     @pyqtSlot(str)
-    def on_inputFilePicker_textChanged(self, txt):
+    def on_inputFilePicker_textChanged(self, txt):  # noqa: U100
         """
         Private slot to handle changes of the input file.
 
@@ -350,7 +348,7 @@
         self.__updateOkButton()
 
     @pyqtSlot(str)
-    def on_iconIdEdit_textChanged(self, txt):
+    def on_iconIdEdit_textChanged(self, txt):  # noqa: U100
         """
         Private slot to handle changes of the icon ID.
 

eric ide

mercurial