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

branch
eric7
changeset 10086
c8854a6300d1
parent 10058
5d965939ab85
child 10087
65b7354b0d4c
diff -r b5808c3a9967 -r c8854a6300d1 src/eric7/Plugins/CheckerPlugins/CodeStyleChecker/Annotations/translations.py
--- a/src/eric7/Plugins/CheckerPlugins/CodeStyleChecker/Annotations/translations.py	Tue May 30 17:25:17 2023 +0200
+++ b/src/eric7/Plugins/CheckerPlugins/CodeStyleChecker/Annotations/translations.py	Wed May 31 13:53:05 2023 +0200
@@ -73,6 +73,9 @@
     "A892": QCoreApplication.translate(
         "AnnotationsChecker", "type annotation is too long ({0} > {1})"
     ),
+    "A901": QCoreApplication.translate(
+        "AnnotationsChecker", "use '|' in place of 'typing.Union' (see PEP-604)"
+    ),
 }
 
 _annotationsMessagesSampleArgs = {

eric ide

mercurial