src/eric7/Debugger/DebugViewer.py

branch
eric7
changeset 10683
779cda568acb
parent 10439
21c28b0f9e41
child 10689
3ede487187f2
--- a/src/eric7/Debugger/DebugViewer.py	Tue Apr 16 15:47:11 2024 +0200
+++ b/src/eric7/Debugger/DebugViewer.py	Sat Apr 20 18:01:36 2024 +0200
@@ -534,13 +534,13 @@
                 self.lvvStackComboBox.addItem("{0}:{1}:{2}".format(*s))
             self.lvvStackComboBox.blockSignals(block)
 
-    def __clientLine(self, fn, line, debuggerId, threadName):  # noqa: U100
+    def __clientLine(self, _fn, _line, debuggerId, threadName):
         """
         Private method to handle a change to the current line.
 
-        @param fn filename
+        @param _fn filename (unused)
         @type str
-        @param line linenumber
+        @param _line linenumber (unused)
         @type int
         @param debuggerId ID of the debugger backend
         @type str
@@ -584,23 +584,23 @@
 
     def __clientSyntaxError(
         self,
-        message,  # noqa: U100
-        filename,  # noqa: U100
-        lineNo,  # noqa: U100
-        characterNo,  # noqa: U100
+        _message,
+        _filename,
+        _lineNo,
+        _characterNo,
         debuggerId,
         threadName,
     ):
         """
         Private method to handle a syntax error in the debugged program.
 
-        @param message message of the syntax error
+        @param _message message of the syntax error (unused)
         @type str
-        @param filename translated filename of the syntax error position
+        @param _filename translated filename of the syntax error position (unused)
         @type str
-        @param lineNo line number of the syntax error position
+        @param _lineNo line number of the syntax error position (unused)
         @type int
-        @param characterNo character number of the syntax error position
+        @param _characterNo character number of the syntax error position (unused)
         @type int
         @param debuggerId ID of the debugger backend
         @type str
@@ -612,20 +612,20 @@
 
     def __clientException(
         self,
-        exceptionType,  # noqa: U100
-        exceptionMessage,  # noqa: U100
-        stackTrace,  # noqa: U100
+        _exceptionType,
+        _exceptionMessage,
+        _stackTrace,
         debuggerId,
         threadName,
     ):
         """
         Private method to handle an exception of the debugged program.
 
-        @param exceptionType type of exception raised
+        @param _exceptionType type of exception raised (unused)
         @type str
-        @param exceptionMessage message given by the exception
+        @param _exceptionMessage message given by the exception (unused)
         @type (str
-        @param stackTrace list of stack entries
+        @param _stackTrace list of stack entries (unused)
         @type list of str
         @param debuggerId ID of the debugger backend
         @type str
@@ -764,14 +764,14 @@
         if frameNo >= 0:
             self.lvvStackComboBox.setCurrentIndex(frameNo)
 
-    def __debuggerSelected(self, current, previous):  # noqa: U100
+    def __debuggerSelected(self, current, _previous):
         """
         Private slot to handle the selection of a debugger backend in the
         debuggers list.
 
         @param current reference to the new current item
         @type QTreeWidgetItem
-        @param previous reference to the previous current item
+        @param _previous reference to the previous current item (unused)
         @type QTreeWidgetItem
         """
         if current is not None and self.__doDebuggersListUpdate:

eric ide

mercurial