src/eric7/QScintilla/DocstringGenerator/BaseDocstringGenerator.py

branch
eric7
changeset 10069
435cc5875135
parent 9653
e67609152c5e
child 10078
9ebe2183cf49
--- a/src/eric7/QScintilla/DocstringGenerator/BaseDocstringGenerator.py	Thu May 25 11:12:05 2023 +0200
+++ b/src/eric7/QScintilla/DocstringGenerator/BaseDocstringGenerator.py	Thu May 25 19:51:47 2023 +0200
@@ -49,7 +49,7 @@
         """
         self.editor = editor
 
-    def isFunctionStart(self, text):
+    def isFunctionStart(self, text):  # noqa: U100
         """
         Public method to test, if a text is the start of a function or method
         definition.
@@ -62,7 +62,7 @@
         """
         return False
 
-    def hasFunctionDefinition(self, cursorPosition):
+    def hasFunctionDefinition(self, cursorPosition):  # noqa: U100
         """
         Public method to test, if the cursor is right below a function
         definition.
@@ -74,7 +74,7 @@
         """
         return False
 
-    def isDocstringIntro(self, cursorPosition):
+    def isDocstringIntro(self, cursorPosition):  # noqa: U100
         """
         Public function to test, if the line up to the cursor position might be
         introducing a docstring.
@@ -86,7 +86,7 @@
         """
         return False
 
-    def insertDocstring(self, cursorPosition, fromStart=True):
+    def insertDocstring(self, cursorPosition, fromStart=True):  # noqa: U100
         """
         Public method to insert a docstring for the function at the cursor
         position.
@@ -100,7 +100,7 @@
         # just do nothing in the base class
         return
 
-    def insertDocstringFromShortcut(self, cursorPosition):
+    def insertDocstringFromShortcut(self, cursorPosition):  # noqa: U100
         """
         Public method to insert a docstring for the function at the cursor
         position initiated via a keyboard shortcut.

eric ide

mercurial