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

branch
eric7
changeset 9328
49a0a9cb2505
parent 9276
e6748a5e24b9
child 9473
3f23dbf37dbe
--- a/src/eric7/Plugins/CheckerPlugins/CodeStyleChecker/Annotations/AnnotationsChecker.py	Thu Sep 15 10:09:53 2022 +0200
+++ b/src/eric7/Plugins/CheckerPlugins/CodeStyleChecker/Annotations/AnnotationsChecker.py	Thu Sep 15 11:00:36 2022 +0200
@@ -369,7 +369,7 @@
         else:
             self.__error(arg.lineno - 1, arg.col_offset, errorCode)
 
-    @lru_cache()
+    @lru_cache()  # __IGNORE_WARNING_M519__
     def __returnErrorClassifier(self, isClassMethod, classDecoratorType, functionType):
         """
         Private method to classify a return type annotation issue.
@@ -400,7 +400,7 @@
         else:
             return "A201"
 
-    @lru_cache()
+    @lru_cache()  # __IGNORE_WARNING_M519__
     def __argumentErrorClassifier(
         self, isClassMethod, isFirstArg, classDecoratorType, annotationType
     ):

eric ide

mercurial