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

branch
eric7
changeset 9595
2bd590c40309
parent 9593
89f885d857e4
child 9597
5f56fbdb3e3c
diff -r bd9550caf22f -r 2bd590c40309 src/eric7/Plugins/CheckerPlugins/SyntaxChecker/pyflakes/messages.py
--- a/src/eric7/Plugins/CheckerPlugins/SyntaxChecker/pyflakes/messages.py	Thu Dec 08 16:03:38 2022 +0100
+++ b/src/eric7/Plugins/CheckerPlugins/SyntaxChecker/pyflakes/messages.py	Thu Dec 08 18:03:42 2022 +0100
@@ -344,16 +344,6 @@
 
     message_id = "F10"
     message = "from __future__ imports must occur at the beginning of the file"
-##
-    ##def __init__(self, filename, loc):
-        ##"""
-        ##Constructor
-##
-        ##@param filename name of the file (string)
-        ##@param loc location of the issue
-        ##"""
-        ##Message.__init__(self, filename, loc)
-        ##self.message_args = ()
 
 
 class FutureFeatureNotDefined(Message):
@@ -406,8 +396,9 @@
     Indicates that a variable has been explicitly annotated but not actually
     used.
     """
+
     message_id = "F12"
-    message = 'local variable %r is annotated but never used'
+    message = "local variable %r is annotated but never used"
 
     def __init__(self, filename, loc, names):
         Message.__init__(self, filename, loc)

eric ide

mercurial