src/eric7/Debugger/VariablesViewer.py

branch
eric7
changeset 10683
779cda568acb
parent 10439
21c28b0f9e41
child 10703
120b22aaec31
--- a/src/eric7/Debugger/VariablesViewer.py	Tue Apr 16 15:47:11 2024 +0200
+++ b/src/eric7/Debugger/VariablesViewer.py	Sat Apr 20 18:01:36 2024 +0200
@@ -494,7 +494,7 @@
         """
         Public method to get the column count.
 
-        @param parent the model parent
+        @param parent the model parent (unused)
         @type QModelIndex
         @return number of columns
         @rtype int
@@ -948,9 +948,7 @@
         header.resizeSection(1, 180)  # value column
         header.resizeSection(2, 50)  # type column
 
-        header.sortIndicatorChanged.connect(
-            lambda *x: self.varModel.getMore()  # noqa: U100
-        )
+        header.sortIndicatorChanged.connect(lambda *_x: self.varModel.getMore())
 
         self.__createPopupMenus()
         self.setContextMenuPolicy(Qt.ContextMenuPolicy.CustomContextMenu)

eric ide

mercurial