417 "variable in function should be lowercase"), |
417 "variable in function should be lowercase"), |
418 "N831": QCoreApplication.translate( |
418 "N831": QCoreApplication.translate( |
419 "NamingStyleChecker", |
419 "NamingStyleChecker", |
420 "names 'l', 'O' and 'I' should be avoided"), |
420 "names 'l', 'O' and 'I' should be avoided"), |
421 |
421 |
422 # McCabe messages |
422 # Code complexity messages |
423 "C101": QCoreApplication.translate( |
423 "C101": QCoreApplication.translate( |
424 "McCabeChecker", "'{0}' is too complex ({1})"), |
424 "ComplexityChecker", "'{0}' is too complex ({1})"), |
|
425 "C111": QCoreApplication.translate( |
|
426 "ComplexityChecker", "source code line is too complex ({0})"), |
|
427 "C112": QCoreApplication.translate( |
|
428 "ComplexityChecker", |
|
429 "overall source code line complexity is too high ({0})"), |
425 "C901": QCoreApplication.translate( |
430 "C901": QCoreApplication.translate( |
426 "McCabeChecker", "{0}: {1}"), |
431 "ComplexityChecker", "{0}: {1}"), |
427 |
432 |
428 # Messages of the Miscellaneous Checker |
433 # Messages of the Miscellaneous Checker |
429 "M101": QCoreApplication.translate( |
434 "M101": QCoreApplication.translate( |
430 "MiscellaneousChecker", |
435 "MiscellaneousChecker", |
431 "coding magic comment not found"), |
436 "coding magic comment not found"), |
698 "E901": ["SyntaxError", "Invalid Syntax"], |
703 "E901": ["SyntaxError", "Invalid Syntax"], |
699 "E902": ["IOError"], |
704 "E902": ["IOError"], |
700 "D232": ["public"], |
705 "D232": ["public"], |
701 "D901": ["SyntaxError", "Invalid Syntax"], |
706 "D901": ["SyntaxError", "Invalid Syntax"], |
702 "C101": ["foo.bar", "42"], |
707 "C101": ["foo.bar", "42"], |
|
708 "C111": [42], |
|
709 "C112": [12.0], |
703 "C901": ["SyntaxError", "Invalid Syntax"], |
710 "C901": ["SyntaxError", "Invalid Syntax"], |
704 "M102": ["enc42"], |
711 "M102": ["enc42"], |
705 "M131": ["list"], |
712 "M131": ["list"], |
706 "M132": ["list"], |
713 "M132": ["list"], |
707 "M198": ["sorted"], |
714 "M198": ["sorted"], |