diff -r 47be220abdaf -r 779cda568acb src/eric7/Graphics/UMLItem.py --- a/src/eric7/Graphics/UMLItem.py Tue Apr 16 15:47:11 2024 +0200 +++ b/src/eric7/Graphics/UMLItem.py Sat Apr 20 18:01:36 2024 +0200 @@ -202,7 +202,7 @@ return QGraphicsItem.itemChange(self, change, value) - 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. @@ -210,7 +210,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() @@ -253,13 +253,13 @@ """ return self.ItemType - 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 + @param _data persisted data to be parsed (unused) @type str @return flag indicating success @rtype bool