44 "pyFlakes", "from __future__ imports must occur at the beginning of the file" |
44 "pyFlakes", "from __future__ imports must occur at the beginning of the file" |
45 ), |
45 ), |
46 "F11": QCoreApplication.translate( |
46 "F11": QCoreApplication.translate( |
47 "pyFlakes", "Local variable {0!r} is assigned to but never used." |
47 "pyFlakes", "Local variable {0!r} is assigned to but never used." |
48 ), |
48 ), |
|
49 "F12": QCoreApplication.translate( |
|
50 "pyFlakes", "Local variable {0!r} is annotated but never used." |
|
51 ), |
49 "F13": QCoreApplication.translate("pyFlakes", "Syntax error detected in doctest."), |
52 "F13": QCoreApplication.translate("pyFlakes", "Syntax error detected in doctest."), |
50 "F15": QCoreApplication.translate("pyFlakes", "'return' outside function"), |
53 "F15": QCoreApplication.translate("pyFlakes", "'return' outside function"), |
51 "F16": QCoreApplication.translate( |
54 "F16": QCoreApplication.translate( |
52 "pyFlakes", "'from {0} import *' only allowed at module level" |
55 "pyFlakes", "'from {0} import *' only allowed at module level" |
53 ), |
56 ), |
81 "pyFlakes", "syntax error in forward annotation {0!r}" |
84 "pyFlakes", "syntax error in forward annotation {0!r}" |
82 ), |
85 ), |
83 "F30": QCoreApplication.translate( |
86 "F30": QCoreApplication.translate( |
84 "pyFlakes", "'raise NotImplemented' should be 'raise NotImplementedError'" |
87 "pyFlakes", "'raise NotImplemented' should be 'raise NotImplementedError'" |
85 ), |
88 ), |
86 "F31": QCoreApplication.translate("pyFlakes", "syntax error in type comment {0!r}"), |
|
87 "F32": QCoreApplication.translate( |
89 "F32": QCoreApplication.translate( |
88 "pyFlakes", "use of >> is invalid with print function" |
90 "pyFlakes", "use of >> is invalid with print function" |
89 ), |
91 ), |
90 "F33": QCoreApplication.translate( |
92 "F33": QCoreApplication.translate( |
91 "pyFlakes", "use ==/!= to compare str, bytes, and int literals" |
93 "pyFlakes", "use ==/!= to compare str, bytes, and int literals" |