392 "MiscellaneousChecker", |
392 "MiscellaneousChecker", |
393 "copyright notice contains invalid author"), |
393 "copyright notice contains invalid author"), |
394 "M121": QCoreApplication.translate( |
394 "M121": QCoreApplication.translate( |
395 "MiscellaneousChecker", |
395 "MiscellaneousChecker", |
396 "blind except: statement"), |
396 "blind except: statement"), |
397 "M131": QCoreApplication.translate( |
397 "M601": QCoreApplication.translate( |
398 "MiscellaneousChecker", |
398 "MiscellaneousChecker", |
399 "found {0} formatter"), |
399 "found {0} formatter"), |
|
400 "M611": QCoreApplication.translate( |
|
401 "MiscellaneousChecker", |
|
402 "format string does contain unindexed parameters"), |
|
403 "M612": QCoreApplication.translate( |
|
404 "MiscellaneousChecker", |
|
405 "docstring does contain unindexed parameters"), |
|
406 "M613": QCoreApplication.translate( |
|
407 "MiscellaneousChecker", |
|
408 "other string does contain unindexed parameters"), |
|
409 "M621": QCoreApplication.translate( |
|
410 "MiscellaneousChecker", |
|
411 "format call uses too large index ({0})"), |
|
412 "M622": QCoreApplication.translate( |
|
413 "MiscellaneousChecker", |
|
414 "format call uses missing keyword ({0})"), |
|
415 "M623": QCoreApplication.translate( |
|
416 "MiscellaneousChecker", |
|
417 "format call uses keyword arguments but no named entries"), |
|
418 "M624": QCoreApplication.translate( |
|
419 "MiscellaneousChecker", |
|
420 "format call uses variable arguments but no numbered entries"), |
|
421 "M625": QCoreApplication.translate( |
|
422 "MiscellaneousChecker", |
|
423 "format call uses implicit and explicit indexes together"), |
|
424 "M631": QCoreApplication.translate( |
|
425 "MiscellaneousChecker", |
|
426 "format call provides unused index ({0})"), |
|
427 "M632": QCoreApplication.translate( |
|
428 "MiscellaneousChecker", |
|
429 "format call provides unused keyword ({0})"), |
400 "M701": QCoreApplication.translate( |
430 "M701": QCoreApplication.translate( |
401 "MiscellaneousChecker", |
431 "MiscellaneousChecker", |
402 "expected these __future__ imports: {0}; but only got: {1}"), |
432 "expected these __future__ imports: {0}; but only got: {1}"), |
403 "M702": QCoreApplication.translate( |
433 "M702": QCoreApplication.translate( |
404 "MiscellaneousChecker", |
434 "MiscellaneousChecker", |
585 "D901": ["SyntaxError", "Invalid Syntax"], |
615 "D901": ["SyntaxError", "Invalid Syntax"], |
586 "C101": ["foo.bar", "42"], |
616 "C101": ["foo.bar", "42"], |
587 "C901": ["SyntaxError", "Invalid Syntax"], |
617 "C901": ["SyntaxError", "Invalid Syntax"], |
588 "M102": ["enc42"], |
618 "M102": ["enc42"], |
589 "M131": ["%s"], |
619 "M131": ["%s"], |
|
620 "M621": [5], |
|
621 "M622": ["foo"], |
|
622 "M631": [5], |
|
623 "M632": ["foo"], |
590 "M701": ["print_function, unicode_literals", "print_function"], |
624 "M701": ["print_function, unicode_literals", "print_function"], |
591 "M702": ["print_function, unicode_literals"], |
625 "M702": ["print_function, unicode_literals"], |
592 "M901": ["SyntaxError", "Invalid Syntax"], |
626 "M901": ["SyntaxError", "Invalid Syntax"], |
593 "FWRITE_ERROR": ["IOError"], |
627 "FWRITE_ERROR": ["IOError"], |
594 } |
628 } |