--- a/eric6/Plugins/CheckerPlugins/CodeStyleChecker/Annotations/translations.py Fri Apr 02 11:59:41 2021 +0200 +++ b/eric6/Plugins/CheckerPlugins/CodeStyleChecker/Annotations/translations.py Sat May 01 14:27:20 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,10 +56,9 @@ "A891": QCoreApplication.translate( "AnnotationsChecker", "type annotation is too complex ({0} > {1})"), - - "A999": QCoreApplication.translate( + "A892": QCoreApplication.translate( "AnnotationsChecker", - "{0}: {1}"), + "type annotation is too long ({0} > {1})"), } _annotationsMessagesSampleArgs = { @@ -65,5 +67,5 @@ "A003": ["kwargs"], "A881": [60], "A891": [5, 3], - "A999": ["SyntaxError", "Invalid Syntax"], + "A892": [10, 7], }