47 "missing return type annotation for classmethod"), |
47 "missing return type annotation for classmethod"), |
48 "A301": QCoreApplication.translate( |
48 "A301": QCoreApplication.translate( |
49 "AnnotationsChecker", |
49 "AnnotationsChecker", |
50 "PEP 484 disallows both type annotations and type comments"), |
50 "PEP 484 disallows both type annotations and type comments"), |
51 |
51 |
|
52 "A871": QCoreApplication.translate( |
|
53 "AnnotationsChecker", |
|
54 "missing 'from __future__ import annotations' but imports: {0}"), |
|
55 |
52 "A881": QCoreApplication.translate( |
56 "A881": QCoreApplication.translate( |
53 "AnnotationsChecker", |
57 "AnnotationsChecker", |
54 "type annotation coverage of {0}% is too low"), |
58 "type annotation coverage of {0}% is too low"), |
55 |
59 |
56 "A891": QCoreApplication.translate( |
60 "A891": QCoreApplication.translate( |