836 "AnnotationsChecker", |
836 "AnnotationsChecker", |
837 "missing return type annotation for staticmethod"), |
837 "missing return type annotation for staticmethod"), |
838 "A206": QCoreApplication.translate( |
838 "A206": QCoreApplication.translate( |
839 "AnnotationsChecker", |
839 "AnnotationsChecker", |
840 "missing return type annotation for classmethod"), |
840 "missing return type annotation for classmethod"), |
|
841 |
|
842 "A881": QCoreApplication.translate( |
|
843 "AnnotationsChecker", |
|
844 "type annotation coverage of {0}% is too low"), |
|
845 |
|
846 "A891": QCoreApplication.translate( |
|
847 "AnnotationsChecker", |
|
848 "type annotation is too complex ({0} > {1})"), |
|
849 |
841 "A999": QCoreApplication.translate( |
850 "A999": QCoreApplication.translate( |
842 "AnnotationsChecker", |
851 "AnnotationsChecker", |
843 "{0}: {1}"), |
852 "{0}: {1}"), |
844 |
853 |
845 ################################################################## |
854 ################################################################## |
1058 "M901": ["SyntaxError", "Invalid Syntax"], |
1067 "M901": ["SyntaxError", "Invalid Syntax"], |
1059 |
1068 |
1060 "A001": ["arg1"], |
1069 "A001": ["arg1"], |
1061 "A002": ["args"], |
1070 "A002": ["args"], |
1062 "A003": ["kwargs"], |
1071 "A003": ["kwargs"], |
|
1072 "A881": [60], |
|
1073 "A891": [5, 3], |
1063 "A999": ["SyntaxError", "Invalid Syntax"], |
1074 "A999": ["SyntaxError", "Invalid Syntax"], |
1064 |
1075 |
1065 "FWRITE_ERROR": ["IOError"], |
1076 "FWRITE_ERROR": ["IOError"], |
1066 } |
1077 } |
1067 |
1078 |