diff --git a/.pylintrc b/.pylintrc index 0dc0a1d6..a2864753 100644 --- a/.pylintrc +++ b/.pylintrc @@ -407,7 +407,6 @@ disable=raw-checker-failed, redefined-outer-name, # needed for test fixtures simplifiable-if-expression, subprocess-popen-preexec-fn, - super-init-not-called, super-with-arguments, unexpected-keyword-arg, unnecessary-dunder-call, diff --git a/plugins/module_utils/_module_container/module.py b/plugins/module_utils/_module_container/module.py index 6da293b5..346270b1 100644 --- a/plugins/module_utils/_module_container/module.py +++ b/plugins/module_utils/_module_container/module.py @@ -70,6 +70,7 @@ class Container(DockerBaseClass): class ContainerManager(DockerBaseClass): def __init__(self, module, engine_driver, client, active_options): + super().__init__() self.module = module self.engine_driver = engine_driver self.client = client diff --git a/tests/unit/plugins/module_utils/_api/test_auth.py b/tests/unit/plugins/module_utils/_api/test_auth.py index 0dfa827a..4ea13bb0 100644 --- a/tests/unit/plugins/module_utils/_api/test_auth.py +++ b/tests/unit/plugins/module_utils/_api/test_auth.py @@ -803,7 +803,7 @@ class CredstoreTest(unittest.TestCase): class InMemoryStore(Store): - def __init__(self, *args, **kwargs): + def __init__(self, *args, **kwargs): # pylint: disable=super-init-not-called self.__store = {} def get(self, server):