src/eric7/Graphics/PackageItem.py

branch
eric7
changeset 10683
779cda568acb
parent 10439
21c28b0f9e41
child 10806
2f6df822e3b9
--- a/src/eric7/Graphics/PackageItem.py	Tue Apr 16 15:47:11 2024 +0200
+++ b/src/eric7/Graphics/PackageItem.py	Sat Apr 20 18:01:36 2024 +0200
@@ -174,7 +174,7 @@
         self.__createTexts()
         self.__calculateSize()
 
-    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.
 
@@ -182,7 +182,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
         """
         pen = self.pen()
@@ -211,11 +211,11 @@
 
         self.adjustAssociations()
 
-    def parseItemDataString(self, version, data):  # noqa: U100
+    def parseItemDataString(self, _version, data):
         """
         Public method to parse the given persistence data.
 
-        @param version version of the data
+        @param _version version of the data (unused)
         @type str
         @param data persisted data to be parsed
         @type str

eric ide

mercurial