src/eric7/Plugins/CheckerPlugins/SyntaxChecker/pyflakes/messages.py

branch
eric7
changeset 9597
5f56fbdb3e3c
parent 9595
2bd590c40309
child 9653
e67609152c5e
diff -r 397f385b95d8 -r 5f56fbdb3e3c src/eric7/Plugins/CheckerPlugins/SyntaxChecker/pyflakes/messages.py
--- a/src/eric7/Plugins/CheckerPlugins/SyntaxChecker/pyflakes/messages.py	Thu Dec 08 18:04:00 2022 +0100
+++ b/src/eric7/Plugins/CheckerPlugins/SyntaxChecker/pyflakes/messages.py	Thu Dec 08 18:09:33 2022 +0100
@@ -391,7 +391,7 @@
 
 class UnusedAnnotation(Message):
     """
-    Class defining the "Unused Annotation" message
+    Class defining the "Unused Annotation" message.
 
     Indicates that a variable has been explicitly annotated but not actually
     used.
@@ -401,6 +401,13 @@
     message = "local variable %r is annotated but never used"
 
     def __init__(self, filename, loc, names):
+        """
+        Constructor
+
+        @param filename name of the file (string)
+        @param loc location of the issue
+        @param names names of unused variable (string)
+        """
         Message.__init__(self, filename, loc)
         self.message_args = (names,)
 

eric ide

mercurial