src/eric7/Project/CreateDialogCodeDialog.py

branch
eric7
changeset 10692
9becf9ca115c
parent 10439
21c28b0f9e41
child 11006
a671918232f3
diff -r d1a603a70f83 -r 9becf9ca115c src/eric7/Project/CreateDialogCodeDialog.py
--- a/src/eric7/Project/CreateDialogCodeDialog.py	Tue Apr 23 09:29:13 2024 +0200
+++ b/src/eric7/Project/CreateDialogCodeDialog.py	Tue Apr 23 11:26:04 2024 +0200
@@ -82,7 +82,7 @@
         self.project = project
 
         self.formFile = formName
-        filename, ext = os.path.splitext(self.formFile)
+        filename, _ext = os.path.splitext(self.formFile)
         self.srcFile = "{0}{1}".format(
             filename, self.project.getDefaultSourceExtension()
         )
@@ -616,11 +616,11 @@
         self.project.appendFile(fn)
 
     @pyqtSlot(int)
-    def on_classNameCombo_activated(self, index):
+    def on_classNameCombo_activated(self, _index):
         """
         Private slot to handle the activated signal of the classname combo.
 
-        @param index index of the activated item
+        @param _index index of the activated item (unused)
         @type int
         """
         self.okButton.setEnabled(True)

eric ide

mercurial