--- a/src/eric7/Plugins/CheckerPlugins/CodeStyleChecker/Annotations/translations.py Tue May 23 14:39:14 2023 +0200 +++ b/src/eric7/Plugins/CheckerPlugins/CodeStyleChecker/Annotations/translations.py Tue May 23 15:58:50 2023 +0200 @@ -45,14 +45,13 @@ "A206": QCoreApplication.translate( "AnnotationsChecker", "missing return type annotation for classmethod" ), - "A301": QCoreApplication.translate( - "AnnotationsChecker", - "PEP 484 disallows both type annotations and type comments", - ), "A401": QCoreApplication.translate( "AnnotationsChecker", "Dynamically typed expressions (typing.Any) are disallowed", ), + "A402": QCoreApplication.translate( + "AnnotationsChecker", "Type comments are disallowed" + ), "A871": QCoreApplication.translate( "AnnotationsChecker", "missing 'from __future__ import annotations' but imports: {0}",