src/eric7/EricGraphics/EricArrowItem.py

branch
eric7
changeset 10683
779cda568acb
parent 10439
21c28b0f9e41
child 11090
f5f5f5803935
--- a/src/eric7/EricGraphics/EricArrowItem.py	Tue Apr 16 15:47:11 2024 +0200
+++ b/src/eric7/EricGraphics/EricArrowItem.py	Sat Apr 20 18:01:36 2024 +0200
@@ -137,7 +137,7 @@
             .adjusted(-extra, -extra, extra, extra)
         )
 
-    def paint(self, painter, option, widget=None):  # noqa: U100
+    def paint(self, painter, option, _widget=None):
         """
         Public method to paint the item in local coordinates.
 
@@ -145,7 +145,7 @@
         @type QPainter
         @param option style options
         @type QStyleOptionGraphicsItem
-        @param widget optional reference to the widget painted on
+        @param _widget optional reference to the widget painted on (unused)
         @type QWidget
         """
         width = (

eric ide

mercurial