src/eric7/MicroPython/MicroPythonFileManagerWidget.py

branch
eric7
changeset 10690
fab36645aa7d
parent 10523
e4069ddd7dc7
child 10806
2f6df822e3b9
diff -r 3ede487187f2 -r fab36645aa7d src/eric7/MicroPython/MicroPythonFileManagerWidget.py
--- a/src/eric7/MicroPython/MicroPythonFileManagerWidget.py	Mon Apr 22 15:15:36 2024 +0200
+++ b/src/eric7/MicroPython/MicroPythonFileManagerWidget.py	Mon Apr 22 18:23:20 2024 +0200
@@ -425,7 +425,7 @@
             itm = fileTreeWidget.itemBelow(itm)
 
     @pyqtSlot(QTreeWidgetItem, int)
-    def on_localFileTreeWidget_itemActivated(self, item, column):
+    def on_localFileTreeWidget_itemActivated(self, item, _column):
         """
         Private slot to handle the activation of a local item.
 
@@ -434,7 +434,7 @@
 
         @param item reference to the activated item
         @type QTreeWidgetItem
-        @param column column of the activation
+        @param _column column of the activation (unused)
         @type int
         """
         name = item.data(0, Qt.ItemDataRole.UserRole)
@@ -511,7 +511,7 @@
         self.__repopulateLocalFilesList(dirname=dirname)
 
     @pyqtSlot(QTreeWidgetItem, int)
-    def on_deviceFileTreeWidget_itemActivated(self, item, column):
+    def on_deviceFileTreeWidget_itemActivated(self, item, _column):
         """
         Private slot to handle the activation of a device item.
 
@@ -520,7 +520,7 @@
 
         @param item reference to the activated item
         @type QTreeWidgetItem
-        @param column column of the activation
+        @param _column column of the activation (unused)
         @type int
         """
         name = item.data(0, Qt.ItemDataRole.UserRole)
@@ -830,11 +830,11 @@
         self.on_getButton_clicked(getAs=True)
 
     @pyqtSlot(str, str)
-    def __handleGetDone(self, deviceFile, localFile):
+    def __handleGetDone(self, _deviceFile, localFile):
         """
         Private slot handling a successful copy of a file from the device.
 
-        @param deviceFile name of the file on the device
+        @param _deviceFile name of the file on the device (unused)
         @type str
         @param localFile name of the local file
         @type str
@@ -899,13 +899,13 @@
         )
 
     @pyqtSlot(str, str)
-    def __handleRsyncDone(self, localDir, deviceDir):
+    def __handleRsyncDone(self, _localDir, _deviceDir):
         """
         Private method to handle the completion of the rsync operation.
 
-        @param localDir name of the local directory
+        @param _localDir name of the local directory (unused)
         @type str
-        @param deviceDir name of the device directory
+        @param _deviceDir name of the device directory (unused)
         @type str
         """
         # simulate button presses to reload the two lists

eric ide

mercurial