Plugins/CheckerPlugins/SyntaxChecker/pyflakes/translations.py

changeset 6742
7cb30f7f94f6
parent 6645
ad476851d7e0
diff -r 31e263d49c04 -r 7cb30f7f94f6 Plugins/CheckerPlugins/SyntaxChecker/pyflakes/translations.py
--- a/Plugins/CheckerPlugins/SyntaxChecker/pyflakes/translations.py	Wed Feb 13 18:59:31 2019 +0100
+++ b/Plugins/CheckerPlugins/SyntaxChecker/pyflakes/translations.py	Wed Feb 13 22:12:58 2019 +0100
@@ -32,10 +32,14 @@
     'F06': QCoreApplication.translate(
         'pyFlakes',
         'Undefined name {0!r} in __all__.'),
-    'F07': QCoreApplication.translate(
+    'F07A': QCoreApplication.translate(
         'pyFlakes',
         "Local variable {0!r} (defined in enclosing scope on line {1!r})"
         " referenced before assignment."),
+    'F07B': QCoreApplication.translate(
+        'pyFlakes',
+        "Local variable {0!r} (defined as a builtin)"
+        " referenced before assignment."),
     'F08': QCoreApplication.translate(
         'pyFlakes',
         'Duplicate argument {0!r} in function definition.'),
@@ -105,6 +109,15 @@
     '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"),
+    'F33': QCoreApplication.translate(
+        'pyFlakes',
+        "use ==/!= to compare str, bytes, and int literals"),
 }
 
 

eric ide

mercurial