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

branch
eric7
changeset 10058
5d965939ab85
parent 10046
35b27af462ef
child 10086
c8854a6300d1
equal deleted inserted replaced
10057:1e31ca1078ab 10058:5d965939ab85
43 "AnnotationsChecker", "missing return type annotation for staticmethod" 43 "AnnotationsChecker", "missing return type annotation for staticmethod"
44 ), 44 ),
45 "A206": QCoreApplication.translate( 45 "A206": QCoreApplication.translate(
46 "AnnotationsChecker", "missing return type annotation for classmethod" 46 "AnnotationsChecker", "missing return type annotation for classmethod"
47 ), 47 ),
48 "A301": QCoreApplication.translate(
49 "AnnotationsChecker",
50 "PEP 484 disallows both type annotations and type comments",
51 ),
52 "A401": QCoreApplication.translate( 48 "A401": QCoreApplication.translate(
53 "AnnotationsChecker", 49 "AnnotationsChecker",
54 "Dynamically typed expressions (typing.Any) are disallowed", 50 "Dynamically typed expressions (typing.Any) are disallowed",
51 ),
52 "A402": QCoreApplication.translate(
53 "AnnotationsChecker", "Type comments are disallowed"
55 ), 54 ),
56 "A871": QCoreApplication.translate( 55 "A871": QCoreApplication.translate(
57 "AnnotationsChecker", 56 "AnnotationsChecker",
58 "missing 'from __future__ import annotations' but imports: {0}", 57 "missing 'from __future__ import annotations' but imports: {0}",
59 ), 58 ),

eric ide

mercurial