mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 13:22:48 +00:00
Cleanup: use super() instead of super(__class__, self) (#11016)
* Address UP008: Use super() instead of super(__class__, self). * Linting.
This commit is contained in:
@@ -277,7 +277,7 @@ class PamdEmptyLine(PamdLine):
|
||||
class PamdComment(PamdLine):
|
||||
|
||||
def __init__(self, line):
|
||||
super(PamdComment, self).__init__(line)
|
||||
super().__init__(line)
|
||||
|
||||
@property
|
||||
def is_valid(self):
|
||||
@@ -288,7 +288,7 @@ class PamdComment(PamdLine):
|
||||
|
||||
class PamdInclude(PamdLine):
|
||||
def __init__(self, line):
|
||||
super(PamdInclude, self).__init__(line)
|
||||
super().__init__(line)
|
||||
|
||||
@property
|
||||
def is_valid(self):
|
||||
|
||||
Reference in New Issue
Block a user