src/eric7/Plugins/CheckerPlugins/CodeStyleChecker/Annotations/translations.py

branch
eric7
changeset 10043
f1427d95cfde
parent 9653
e67609152c5e
child 10046
35b27af462ef
--- a/src/eric7/Plugins/CheckerPlugins/CodeStyleChecker/Annotations/translations.py	Fri May 19 16:01:53 2023 +0200
+++ b/src/eric7/Plugins/CheckerPlugins/CodeStyleChecker/Annotations/translations.py	Fri May 19 18:08:45 2023 +0200
@@ -60,6 +60,10 @@
     "A872": QCoreApplication.translate(
         "AnnotationsChecker", "missing 'from __future__ import annotations'"
     ),
+    "A873": QCoreApplication.translate(
+        "AnnotationsChecker", "missing 'from __future__ import annotations' but uses"
+        " simplified type annotations: {0}"
+    ),
     "A881": QCoreApplication.translate(
         "AnnotationsChecker", "type annotation coverage of {0}% is too low"
     ),
@@ -76,6 +80,7 @@
     "A002": ["args"],
     "A003": ["kwargs"],
     "A871": ["Dict, List"],
+    "A873": ["dict, list"],
     "A881": [60],
     "A891": [5, 3],
     "A892": [10, 7],

eric ide

mercurial