diff -r c8854a6300d1 -r 65b7354b0d4c src/eric7/Plugins/CheckerPlugins/CodeStyleChecker/Annotations/translations.py --- a/src/eric7/Plugins/CheckerPlugins/CodeStyleChecker/Annotations/translations.py Wed May 31 13:53:05 2023 +0200 +++ b/src/eric7/Plugins/CheckerPlugins/CodeStyleChecker/Annotations/translations.py Thu Jun 01 11:44:06 2023 +0200 @@ -74,7 +74,12 @@ "AnnotationsChecker", "type annotation is too long ({0} > {1})" ), "A901": QCoreApplication.translate( - "AnnotationsChecker", "use '|' in place of 'typing.Union' (see PEP-604)" + "AnnotationsChecker", + "'typing.Union' is deprecated, use '|' instead (see PEP 604)", + ), + "A911": QCoreApplication.translate( + "AnnotationsChecker", + "'typing.{0}' is deprecated, use '{1}' instead (see PEP 585)", ), } @@ -87,4 +92,5 @@ "A881": [60], "A891": [5, 3], "A892": [10, 7], + "A911": ["List", "list"], }