eric6/Plugins/CheckerPlugins/CodeStyleChecker/translations.py

changeset 7247
bf9379f964f3
parent 7246
c32a350d2414
child 7256
4ef3b78ebb4e
diff -r c32a350d2414 -r bf9379f964f3 eric6/Plugins/CheckerPlugins/CodeStyleChecker/translations.py
--- a/eric6/Plugins/CheckerPlugins/CodeStyleChecker/translations.py	Wed Sep 18 20:25:52 2019 +0200
+++ b/eric6/Plugins/CheckerPlugins/CodeStyleChecker/translations.py	Thu Sep 19 19:14:34 2019 +0200
@@ -838,6 +838,15 @@
     "A206": QCoreApplication.translate(
         "AnnotationsChecker",
         "missing return type annotation for classmethod"),
+    
+    "A881": QCoreApplication.translate(
+        "AnnotationsChecker",
+        "type annotation coverage of {0}% is too low"),
+    
+    "A891": QCoreApplication.translate(
+        "AnnotationsChecker",
+        "type annotation is too complex ({0} > {1})"),
+    
     "A999": QCoreApplication.translate(
         "AnnotationsChecker",
         "{0}: {1}"),
@@ -1060,6 +1069,8 @@
     "A001": ["arg1"],
     "A002": ["args"],
     "A003": ["kwargs"],
+    "A881": [60],
+    "A891": [5, 3],
     "A999": ["SyntaxError", "Invalid Syntax"],
     
     "FWRITE_ERROR": ["IOError"],

eric ide

mercurial