mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-07 20:47:16 +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:
parent
0c5466de47
commit
74c2c804e5
204 changed files with 390 additions and 401 deletions
|
|
@ -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):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue