src/eric7/Plugins/VcsPlugins/vcsGit/GitWorktreeAddDialog.py

branch
eric7
changeset 10690
fab36645aa7d
parent 10439
21c28b0f9e41
child 11090
f5f5f5803935
diff -r 3ede487187f2 -r fab36645aa7d src/eric7/Plugins/VcsPlugins/vcsGit/GitWorktreeAddDialog.py
--- a/src/eric7/Plugins/VcsPlugins/vcsGit/GitWorktreeAddDialog.py	Mon Apr 22 15:15:36 2024 +0200
+++ b/src/eric7/Plugins/VcsPlugins/vcsGit/GitWorktreeAddDialog.py	Mon Apr 22 18:23:20 2024 +0200
@@ -69,71 +69,71 @@
         self.buttonBox.button(QDialogButtonBox.StandardButton.Ok).setEnabled(enable)
 
     @pyqtSlot(str)
-    def on_worktreePathPicker_textChanged(self, worktree):
+    def on_worktreePathPicker_textChanged(self, _worktree):
         """
         Private slot handling a change of the worktree path.
 
-        @param worktree entered worktree path
+        @param _worktree entered worktree path (unused)
         @type str
         """
         self.__updateOK()
 
     @pyqtSlot(bool)
-    def on_revButton_toggled(self, checked):
+    def on_revButton_toggled(self, _checked):
         """
         Private slot to handle changes of the rev select button.
 
-        @param checked state of the button
+        @param _checked state of the button (unused)
         @type bool
         """
         self.__updateOK()
 
     @pyqtSlot(str)
-    def on_revEdit_textChanged(self, txt):
+    def on_revEdit_textChanged(self, _txt):
         """
         Private slot to handle changes of the rev edit.
 
-        @param txt text of the edit
+        @param _txt text of the edit (unused)
         @type str
         """
         self.__updateOK()
 
     @pyqtSlot(bool)
-    def on_tagButton_toggled(self, checked):
+    def on_tagButton_toggled(self, _checked):
         """
         Private slot to handle changes of the Tag select button.
 
-        @param checked state of the button
+        @param _checked state of the button (unused)
         @type bool
         """
         self.__updateOK()
 
     @pyqtSlot(str)
-    def on_tagCombo_editTextChanged(self, txt):
+    def on_tagCombo_editTextChanged(self, _txt):
         """
         Private slot to handle changes of the Tag combo.
 
-        @param txt text of the combo
+        @param _txt text of the combo (unused)
         @type str
         """
         self.__updateOK()
 
     @pyqtSlot(bool)
-    def on_branchButton_toggled(self, checked):
+    def on_branchButton_toggled(self, _checked):
         """
         Private slot to handle changes of the Branch select button.
 
-        @param checked state of the button
+        @param _checked state of the button (unused)
         @type bool
         """
         self.__updateOK()
 
     @pyqtSlot(str)
-    def on_branchCombo_editTextChanged(self, txt):
+    def on_branchCombo_editTextChanged(self, _txt):
         """
         Private slot to handle changes of the Branch combo.
 
-        @param txt text of the combo
+        @param _txt text of the combo (unused)
         @type str
         """
         self.__updateOK()

eric ide

mercurial