144 "pep8", |
144 "pep8", |
145 "tab after keyword"), |
145 "tab after keyword"), |
146 "E274": QCoreApplication.translate( |
146 "E274": QCoreApplication.translate( |
147 "pep8", |
147 "pep8", |
148 "tab before keyword"), |
148 "tab before keyword"), |
|
149 "E275": QCoreApplication.translate( |
|
150 "pep8", |
|
151 "missing whitespace after keyword"), |
149 "W291": QCoreApplication.translate( |
152 "W291": QCoreApplication.translate( |
150 "pep8", |
153 "pep8", |
151 "trailing whitespace"), |
154 "trailing whitespace"), |
152 "W292": QCoreApplication.translate( |
155 "W292": QCoreApplication.translate( |
153 "pep8", |
156 "pep8", |
165 "pep8", |
168 "pep8", |
166 "too many blank lines ({0})"), |
169 "too many blank lines ({0})"), |
167 "E304": QCoreApplication.translate( |
170 "E304": QCoreApplication.translate( |
168 "pep8", |
171 "pep8", |
169 "blank lines found after function decorator"), |
172 "blank lines found after function decorator"), |
|
173 "E305": QCoreApplication.translate( |
|
174 "pep8", |
|
175 "expected 2 blank lines after class or function definition," |
|
176 " found {0}"), |
|
177 "E306": QCoreApplication.translate( |
|
178 "pep8", |
|
179 "expected 1 blank line before a nested definition, found 0"), |
170 "W391": QCoreApplication.translate( |
180 "W391": QCoreApplication.translate( |
171 "pep8", |
181 "pep8", |
172 "blank line at end of file"), |
182 "blank line at end of file"), |
173 "E401": QCoreApplication.translate( |
183 "E401": QCoreApplication.translate( |
174 "pep8", |
184 "pep8", |
207 "pep8", |
217 "pep8", |
208 "statement ends with a semicolon"), |
218 "statement ends with a semicolon"), |
209 "E704": QCoreApplication.translate( |
219 "E704": QCoreApplication.translate( |
210 "pep8", |
220 "pep8", |
211 "multiple statements on one line (def)"), |
221 "multiple statements on one line (def)"), |
|
222 "E705": QCoreApplication.translate( |
|
223 "pep8", |
|
224 "multiple statements on one line (async def)"), |
212 "E711": QCoreApplication.translate( |
225 "E711": QCoreApplication.translate( |
213 "pep8", |
226 "pep8", |
214 "comparison to {0} should be {1}"), |
227 "comparison to {0} should be {1}"), |
215 "E712": QCoreApplication.translate( |
228 "E712": QCoreApplication.translate( |
216 "pep8", |
229 "pep8", |
225 "pep8", |
238 "pep8", |
226 "do not compare types, use 'isinstance()'"), |
239 "do not compare types, use 'isinstance()'"), |
227 "E731": QCoreApplication.translate( |
240 "E731": QCoreApplication.translate( |
228 "pep8", |
241 "pep8", |
229 "do not assign a lambda expression, use a def"), |
242 "do not assign a lambda expression, use a def"), |
|
243 "E741": QCoreApplication.translate( |
|
244 "pep8", |
|
245 "ambiguous variable name '{0}'"), |
|
246 "E742": QCoreApplication.translate( |
|
247 "pep8", |
|
248 "ambiguous class definition '{0}'"), |
|
249 "E743": QCoreApplication.translate( |
|
250 "pep8", |
|
251 "ambiguous function definition '{0}'"), |
230 "E901": QCoreApplication.translate( |
252 "E901": QCoreApplication.translate( |
231 "pep8", |
253 "pep8", |
232 "{0}: {1}"), |
254 "{0}: {1}"), |
233 "E902": QCoreApplication.translate( |
255 "E902": QCoreApplication.translate( |
234 "pep8", |
256 "pep8", |
629 "E231": [",;:"], |
651 "E231": [",;:"], |
630 "E241": [",;:"], |
652 "E241": [",;:"], |
631 "E242": [",;:"], |
653 "E242": [",;:"], |
632 "E302": [1], |
654 "E302": [1], |
633 "E303": [3], |
655 "E303": [3], |
|
656 "E305": [1], |
634 "E501": [85, 79], |
657 "E501": [85, 79], |
635 "E711": ["None", "'if cond is None:'"], |
658 "E711": ["None", "'if cond is None:'"], |
636 "E712": ["True", "'if cond is True:' or 'if cond:'"], |
659 "E712": ["True", "'if cond is True:' or 'if cond:'"], |
|
660 "E741": ["l"], |
|
661 "E742": ["l"], |
|
662 "E743": ["l"], |
637 "E901": ["SyntaxError", "Invalid Syntax"], |
663 "E901": ["SyntaxError", "Invalid Syntax"], |
638 "E902": ["IOError"], |
664 "E902": ["IOError"], |
639 "D232": ["public"], |
665 "D232": ["public"], |
640 "D901": ["SyntaxError", "Invalid Syntax"], |
666 "D901": ["SyntaxError", "Invalid Syntax"], |
641 "C101": ["foo.bar", "42"], |
667 "C101": ["foo.bar", "42"], |