--- a/src/eric7/QScintilla/DocstringGenerator/BaseDocstringGenerator.py Mon Feb 24 15:11:18 2025 +0100 +++ b/src/eric7/QScintilla/DocstringGenerator/BaseDocstringGenerator.py Mon Feb 24 15:43:49 2025 +0100 @@ -50,7 +50,7 @@ """ self.editor = editor - def isFunctionStart(self, text): # noqa: U100 + def isFunctionStart(self, text): # noqa: U-100 """ Public method to test, if a text is the start of a function or method definition. @@ -63,7 +63,7 @@ """ return False - def hasFunctionDefinition(self, cursorPosition): # noqa: U100 + def hasFunctionDefinition(self, cursorPosition): # noqa: U-100 """ Public method to test, if the cursor is right below a function definition. @@ -75,7 +75,7 @@ """ return False - def isDocstringIntro(self, cursorPosition): # noqa: U100 + def isDocstringIntro(self, cursorPosition): # noqa: U-100 """ Public function to test, if the line up to the cursor position might be introducing a docstring. @@ -87,7 +87,7 @@ """ return False - def insertDocstring(self, cursorPosition, fromStart=True): # noqa: U100 + def insertDocstring(self, cursorPosition, fromStart=True): # noqa: U-100 """ Public method to insert a docstring for the function at the cursor position. @@ -101,7 +101,7 @@ # just do nothing in the base class return - def insertDocstringFromShortcut(self, cursorPosition): # noqa: U100 + def insertDocstringFromShortcut(self, cursorPosition): # noqa: U-100 """ Public method to insert a docstring for the function at the cursor position initiated via a keyboard shortcut.