eric6/Plugins/CheckerPlugins/CodeStyleChecker/AnnotationsChecker.py

changeset 7610
df7025fe26a3
parent 7360
9190402e4505
child 7622
384e2aa5c073
--- a/eric6/Plugins/CheckerPlugins/CodeStyleChecker/AnnotationsChecker.py	Thu Jun 04 17:57:20 2020 +0200
+++ b/eric6/Plugins/CheckerPlugins/CodeStyleChecker/AnnotationsChecker.py	Sat Jun 06 19:42:15 2020 +0200
@@ -130,7 +130,14 @@
         if code and (self.counters[code] == 1 or self.__repeat):
             # record the issue with one based line number
             self.errors.append(
-                (self.__filename, lineNumber + 1, offset, (code, args)))
+                {
+                    "file": self.__filename,
+                    "line": lineNumber + 1,
+                    "offset": offset,
+                    "code": code,
+                    "args": args,
+                }
+            )
     
     def __reportInvalidSyntax(self):
         """

eric ide

mercurial