eric6/Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleChecker.py

changeset 8218
7c09585bd960
parent 8205
4a0f1f896341
child 8243
cc717c2ae956
--- a/eric6/Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleChecker.py	Sat Apr 10 18:31:17 2021 +0200
+++ b/eric6/Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleChecker.py	Sat Apr 10 18:38:27 2021 +0200
@@ -54,7 +54,7 @@
         
         @param options options for the report (optparse.Values)
         """
-        super(CodeStyleCheckerReport, self).__init__(options)
+        super().__init__(options)
         
         self.__repeat = options.repeat
         self.errors = []
@@ -70,7 +70,7 @@
         @param args arguments for the message (list)
         @return error code (string)
         """
-        code = super(CodeStyleCheckerReport, self).error_args(
+        code = super().error_args(
             line_number, offset, code, check, *args)
         if code and (self.counters[code] == 1 or self.__repeat):
             self.errors.append(

eric ide

mercurial