--- a/src/eric7/UI/NumbersWidget.py Tue Apr 16 15:47:11 2024 +0200 +++ b/src/eric7/UI/NumbersWidget.py Sat Apr 20 18:01:36 2024 +0200 @@ -33,22 +33,22 @@ self.__bits = 0 self.__value = 0 - def rowCount(self, parent): # noqa: U100 + def rowCount(self, _parent): """ Public method to get the number of rows of the model. - @param parent parent index + @param _parent parent index (unused) @type QModelIndex @return number of columns @rtype int """ return 1 - def columnCount(self, parent): # noqa: U100 + def columnCount(self, _parent): """ Public method to get the number of columns of the model. - @param parent parent index + @param _parent parent index (unused) @type QModelIndex @return number of columns @rtype int @@ -77,11 +77,11 @@ return None - def flags(self, index): # noqa: U100 + def flags(self, _index): """ Public method to get flags from the model. - @param index index to get flags for + @param _index index to get flags for (unused) @type QModelIndex @return flags @rtype Qt.ItemFlags