--- a/src/eric7/Graphics/ClassItem.py Tue Apr 16 15:47:11 2024 +0200 +++ b/src/eric7/Graphics/ClassItem.py Sat Apr 20 18:01:36 2024 +0200 @@ -266,7 +266,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. @@ -274,7 +274,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() @@ -315,11 +315,11 @@ """ return self.external - 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