summaryrefslogtreecommitdiff
path: root/utils/checkstyle.py
diff options
context:
space:
mode:
Diffstat (limited to 'utils/checkstyle.py')
-rwxr-xr-xutils/checkstyle.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/checkstyle.py b/utils/checkstyle.py
index 7225cac4..c04bf385 100755
--- a/utils/checkstyle.py
+++ b/utils/checkstyle.py
@@ -198,7 +198,7 @@ _style_checkers = []
class StyleCheckerRegistry(type):
def __new__(cls, clsname, bases, attrs):
- newclass = super(StyleCheckerRegistry, cls).__new__(cls, clsname, bases, attrs)
+ newclass = super().__new__(cls, clsname, bases, attrs)
if clsname != 'StyleChecker':
_style_checkers.append(newclass)
return newclass
@@ -387,7 +387,7 @@ _formatters = []
class FormatterRegistry(type):
def __new__(cls, clsname, bases, attrs):
- newclass = super(FormatterRegistry, cls).__new__(cls, clsname, bases, attrs)
+ newclass = super().__new__(cls, clsname, bases, attrs)
if clsname != 'Formatter':
_formatters.append(newclass)
return newclass