diff -r cc717c2ae956 -r ed8cb108b27b eric6/Plugins/CheckerPlugins/CodeStyleChecker/Annotations/translations.py --- a/eric6/Plugins/CheckerPlugins/CodeStyleChecker/Annotations/translations.py Thu Apr 15 18:11:24 2021 +0200 +++ b/eric6/Plugins/CheckerPlugins/CodeStyleChecker/Annotations/translations.py Fri Apr 16 18:03:43 2021 +0200 @@ -45,6 +45,9 @@ "A206": QCoreApplication.translate( "AnnotationsChecker", "missing return type annotation for classmethod"), + "A301": QCoreApplication.translate( + "AnnotationsChecker", + "PEP 484 disallows both type annotations and type comments"), "A881": QCoreApplication.translate( "AnnotationsChecker", @@ -53,6 +56,9 @@ "A891": QCoreApplication.translate( "AnnotationsChecker", "type annotation is too complex ({0} > {1})"), + "A892": QCoreApplication.translate( + "AnnotationsChecker", + "type annotation is too long ({0} > {1})"), } _annotationsMessagesSampleArgs = { @@ -61,4 +67,5 @@ "A003": ["kwargs"], "A881": [60], "A891": [5, 3], + "A892": [10, 7], }