src/eric7/VirtualEnv/VirtualenvConfigurationDialog.py

branch
eric7
changeset 10692
9becf9ca115c
parent 10439
21c28b0f9e41
child 11086
9f15464daafa
diff -r d1a603a70f83 -r 9becf9ca115c src/eric7/VirtualEnv/VirtualenvConfigurationDialog.py
--- a/src/eric7/VirtualEnv/VirtualenvConfigurationDialog.py	Tue Apr 23 09:29:13 2024 +0200
+++ b/src/eric7/VirtualEnv/VirtualenvConfigurationDialog.py	Tue Apr 23 11:26:04 2024 +0200
@@ -179,31 +179,31 @@
             self.venvStack.setCurrentWidget(self.venvPage)
 
     @pyqtSlot(str)
-    def on_nameEdit_textChanged(self, txt):
+    def on_nameEdit_textChanged(self, _txt):
         """
         Private slot handling a change of the virtual environment name.
 
-        @param txt name of the virtual environment
+        @param _txt name of the virtual environment (unused)
         @type str
         """
         self.__updateOK()
 
     @pyqtSlot(str)
-    def on_targetDirectoryPicker_textChanged(self, txt):
+    def on_targetDirectoryPicker_textChanged(self, _txt):
         """
         Private slot handling a change of the target directory.
 
-        @param txt target directory
+        @param _txt target directory (unused)
         @type str
         """
         self.__updateOK()
 
     @pyqtSlot(str)
-    def on_pythonExecPicker_textChanged(self, txt):
+    def on_pythonExecPicker_textChanged(self, _txt):
         """
         Private slot to react to a change of the Python executable.
 
-        @param txt contents of the picker's line edit
+        @param _txt contents of the picker's line edit (unused)
         @type str
         """
         self.__setVirtualenvVersion()
@@ -211,51 +211,51 @@
         self.__updateOK()
 
     @pyqtSlot(bool)
-    def on_virtualenvButton_toggled(self, checked):
+    def on_virtualenvButton_toggled(self, _checked):
         """
         Private slot to react to the selection of 'virtualenv'.
 
-        @param checked state of the checkbox
+        @param _checked state of the checkbox (unused)
         @type bool
         """
         self.__updateUi()
 
     @pyqtSlot(bool)
-    def on_pyvenvButton_toggled(self, checked):
+    def on_pyvenvButton_toggled(self, _checked):
         """
         Private slot to react to the selection of 'pyvenv'.
 
-        @param checked state of the checkbox
+        @param _checked state of the checkbox (unused)
         @type bool
         """
         self.__updateUi()
 
     @pyqtSlot(bool)
-    def on_condaButton_toggled(self, checked):
+    def on_condaButton_toggled(self, _checked):
         """
         Private slot to react to the selection of 'conda'.
 
-        @param checked state of the checkbox
+        @param _checked state of the checkbox (unused)
         @type bool
         """
         self.__updateUi()
 
     @pyqtSlot(str)
-    def on_condaNameEdit_textChanged(self, txt):
+    def on_condaNameEdit_textChanged(self, _txt):
         """
         Private slot handling a change of the conda environment name.
 
-        @param txt environment name
+        @param _txt environment name (unused)
         @type str
         """
         self.__updateOK()
 
     @pyqtSlot(str)
-    def on_condaTargetDirectoryPicker_textChanged(self, txt):
+    def on_condaTargetDirectoryPicker_textChanged(self, _txt):
         """
         Private slot handling a change of the conda target directory.
 
-        @param txt target directory
+        @param _txt target directory (unused)
         @type str
         """
         self.__updateOK()
@@ -269,21 +269,21 @@
         self.__updateUi()
 
     @pyqtSlot(str)
-    def on_condaCloneNameEdit_textChanged(self, txt):
+    def on_condaCloneNameEdit_textChanged(self, _txt):
         """
         Private slot handling a change of the conda source environment name.
 
-        @param txt name of the environment to be cloned
+        @param _txt name of the environment to be cloned (unused)
         @type str
         """
         self.__updateOK()
 
     @pyqtSlot(str)
-    def on_condaCloneDirectoryPicker_textChanged(self, txt):
+    def on_condaCloneDirectoryPicker_textChanged(self, _txt):
         """
         Private slot handling a change of the cloned from directory.
 
-        @param txt target directory
+        @param _txt target directory (unused)
         @type str
         """
         self.__updateOK()
@@ -303,11 +303,11 @@
         self.__updateOK()
 
     @pyqtSlot(str)
-    def on_condaRequirementsFilePicker_textChanged(self, txt):
+    def on_condaRequirementsFilePicker_textChanged(self, _txt):
         """
         Private slot handling a change of the requirements file entry.
 
-        @param txt current text of the requirements file entry
+        @param _txt current text of the requirements file entry (unused)
         @type str
         """
         self.__updateOK()

eric ide

mercurial