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"], |