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

branch
eric7
changeset 10087
65b7354b0d4c
parent 10086
c8854a6300d1
child 10439
21c28b0f9e41
equal deleted inserted replaced
10086:c8854a6300d1 10087:65b7354b0d4c
72 ), 72 ),
73 "A892": QCoreApplication.translate( 73 "A892": QCoreApplication.translate(
74 "AnnotationsChecker", "type annotation is too long ({0} > {1})" 74 "AnnotationsChecker", "type annotation is too long ({0} > {1})"
75 ), 75 ),
76 "A901": QCoreApplication.translate( 76 "A901": QCoreApplication.translate(
77 "AnnotationsChecker", "use '|' in place of 'typing.Union' (see PEP-604)" 77 "AnnotationsChecker",
78 "'typing.Union' is deprecated, use '|' instead (see PEP 604)",
79 ),
80 "A911": QCoreApplication.translate(
81 "AnnotationsChecker",
82 "'typing.{0}' is deprecated, use '{1}' instead (see PEP 585)",
78 ), 83 ),
79 } 84 }
80 85
81 _annotationsMessagesSampleArgs = { 86 _annotationsMessagesSampleArgs = {
82 "A001": ["arg1"], 87 "A001": ["arg1"],
85 "A871": ["Dict, List"], 90 "A871": ["Dict, List"],
86 "A873": ["dict, list"], 91 "A873": ["dict, list"],
87 "A881": [60], 92 "A881": [60],
88 "A891": [5, 3], 93 "A891": [5, 3],
89 "A892": [10, 7], 94 "A892": [10, 7],
95 "A911": ["List", "list"],
90 } 96 }

eric ide

mercurial