mirror of
https://github.com/ansible-collections/community.docker.git
synced 2025-12-18 21:02:36 +00:00
Address super-init-not-called.
This commit is contained in:
parent
5b7b3d4c52
commit
2803a5bf2f
@ -407,7 +407,6 @@ disable=raw-checker-failed,
|
|||||||
redefined-outer-name, # needed for test fixtures
|
redefined-outer-name, # needed for test fixtures
|
||||||
simplifiable-if-expression,
|
simplifiable-if-expression,
|
||||||
subprocess-popen-preexec-fn,
|
subprocess-popen-preexec-fn,
|
||||||
super-init-not-called,
|
|
||||||
super-with-arguments,
|
super-with-arguments,
|
||||||
unexpected-keyword-arg,
|
unexpected-keyword-arg,
|
||||||
unnecessary-dunder-call,
|
unnecessary-dunder-call,
|
||||||
|
|||||||
@ -70,6 +70,7 @@ class Container(DockerBaseClass):
|
|||||||
|
|
||||||
class ContainerManager(DockerBaseClass):
|
class ContainerManager(DockerBaseClass):
|
||||||
def __init__(self, module, engine_driver, client, active_options):
|
def __init__(self, module, engine_driver, client, active_options):
|
||||||
|
super().__init__()
|
||||||
self.module = module
|
self.module = module
|
||||||
self.engine_driver = engine_driver
|
self.engine_driver = engine_driver
|
||||||
self.client = client
|
self.client = client
|
||||||
|
|||||||
@ -803,7 +803,7 @@ class CredstoreTest(unittest.TestCase):
|
|||||||
|
|
||||||
|
|
||||||
class InMemoryStore(Store):
|
class InMemoryStore(Store):
|
||||||
def __init__(self, *args, **kwargs):
|
def __init__(self, *args, **kwargs): # pylint: disable=super-init-not-called
|
||||||
self.__store = {}
|
self.__store = {}
|
||||||
|
|
||||||
def get(self, server):
|
def get(self, server):
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user