src/eric7/Plugins/CheckerPlugins/CodeStyleChecker/Annotations/translations.py

branch
eric7
changeset 9276
e6748a5e24b9
parent 9221
bf71ee032bb4
child 9653
e67609152c5e
equal deleted inserted replaced
9275:1a7d545d3ef2 9276:e6748a5e24b9
47 ), 47 ),
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 "A401": QCoreApplication.translate(
53 "AnnotationsChecker",
54 "Dynamically typed expressions (typing.Any) are disallowed",
55 ),
52 "A871": QCoreApplication.translate( 56 "A871": QCoreApplication.translate(
53 "AnnotationsChecker", 57 "AnnotationsChecker",
54 "missing 'from __future__ import annotations' but imports: {0}", 58 "missing 'from __future__ import annotations' but imports: {0}",
59 ),
60 "A872": QCoreApplication.translate(
61 "AnnotationsChecker", "missing 'from __future__ import annotations'"
55 ), 62 ),
56 "A881": QCoreApplication.translate( 63 "A881": QCoreApplication.translate(
57 "AnnotationsChecker", "type annotation coverage of {0}% is too low" 64 "AnnotationsChecker", "type annotation coverage of {0}% is too low"
58 ), 65 ),
59 "A891": QCoreApplication.translate( 66 "A891": QCoreApplication.translate(

eric ide

mercurial