71 "AnnotationsChecker", "type annotation is too complex ({0} > {1})" |
71 "AnnotationsChecker", "type annotation is too complex ({0} > {1})" |
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( |
|
77 "AnnotationsChecker", "use '|' in place of 'typing.Union' (see PEP-604)" |
|
78 ), |
76 } |
79 } |
77 |
80 |
78 _annotationsMessagesSampleArgs = { |
81 _annotationsMessagesSampleArgs = { |
79 "A001": ["arg1"], |
82 "A001": ["arg1"], |
80 "A002": ["args"], |
83 "A002": ["args"], |