diff -r 47be220abdaf -r 779cda568acb src/eric7/Graphics/ModuleItem.py --- a/src/eric7/Graphics/ModuleItem.py Tue Apr 16 15:47:11 2024 +0200 +++ b/src/eric7/Graphics/ModuleItem.py Sat Apr 20 18:01:36 2024 +0200 @@ -144,7 +144,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. @@ -152,7 +152,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() @@ -178,11 +178,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