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

branch
eric7
changeset 11148
15e30f0c76a8
parent 11147
dee6e106b4d3
child 11150
73d80859079c
diff -r dee6e106b4d3 -r 15e30f0c76a8 src/eric7/Plugins/CheckerPlugins/CodeStyleChecker/Annotations/AnnotationsChecker.py
--- a/src/eric7/Plugins/CheckerPlugins/CodeStyleChecker/Annotations/AnnotationsChecker.py	Mon Feb 24 15:11:18 2025 +0100
+++ b/src/eric7/Plugins/CheckerPlugins/CodeStyleChecker/Annotations/AnnotationsChecker.py	Mon Feb 24 15:43:49 2025 +0100
@@ -388,7 +388,7 @@
         else:
             self.__error(arg.lineno - 1, arg.col_offset, errorCode)
 
-    @lru_cache()  # __IGNORE_WARNING_M519__
+    @lru_cache()  # __IGNORE_WARNING_M-519__
     def __returnErrorClassifier(self, isClassMethod, classDecoratorType, functionType):
         """
         Private method to classify a return type annotation issue.
@@ -419,7 +419,7 @@
         else:
             return "A-201"
 
-    @lru_cache()  # __IGNORE_WARNING_M519__
+    @lru_cache()  # __IGNORE_WARNING_M-519__
     def __argumentErrorClassifier(
         self, isClassMethod, isFirstArg, classDecoratorType, annotationType
     ):

eric ide

mercurial