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

branch
eric7
changeset 9593
89f885d857e4
parent 9576
be9f8e7e42e0
child 9653
e67609152c5e
diff -r 2b3802c3c6d2 -r 89f885d857e4 src/eric7/Plugins/CheckerPlugins/SyntaxChecker/pyflakes/translations.py
--- a/src/eric7/Plugins/CheckerPlugins/SyntaxChecker/pyflakes/translations.py	Thu Dec 08 15:10:49 2022 +0100
+++ b/src/eric7/Plugins/CheckerPlugins/SyntaxChecker/pyflakes/translations.py	Thu Dec 08 16:01:34 2022 +0100
@@ -46,6 +46,9 @@
     "F11": QCoreApplication.translate(
         "pyFlakes", "Local variable {0!r} is assigned to but never used."
     ),
+    "F12": QCoreApplication.translate(
+        "pyFlakes", "Local variable {0!r} is annotated but never used."
+    ),
     "F13": QCoreApplication.translate("pyFlakes", "Syntax error detected in doctest."),
     "F15": QCoreApplication.translate("pyFlakes", "'return' outside function"),
     "F16": QCoreApplication.translate(
@@ -83,7 +86,6 @@
     "F30": QCoreApplication.translate(
         "pyFlakes", "'raise NotImplemented' should be 'raise NotImplementedError'"
     ),
-    "F31": QCoreApplication.translate("pyFlakes", "syntax error in type comment {0!r}"),
     "F32": QCoreApplication.translate(
         "pyFlakes", "use of >> is invalid with print function"
     ),

eric ide

mercurial