mirror of
https://github.com/ansible-collections/community.docker.git
synced 2026-04-05 02:58:55 +00:00
Address unnecessary-dunder-call.
This commit is contained in:
parent
8c18085757
commit
8b401c5636
@ -391,7 +391,6 @@ disable=raw-checker-failed,
|
|||||||
redefined-outer-name, # needed for test fixtures
|
redefined-outer-name, # needed for test fixtures
|
||||||
subprocess-popen-preexec-fn,
|
subprocess-popen-preexec-fn,
|
||||||
unexpected-keyword-arg,
|
unexpected-keyword-arg,
|
||||||
unnecessary-dunder-call,
|
|
||||||
unnecessary-pass,
|
unnecessary-pass,
|
||||||
unsupported-assignment-operation, # TODO: needs better typing info
|
unsupported-assignment-operation, # TODO: needs better typing info
|
||||||
unused-argument,
|
unused-argument,
|
||||||
|
|||||||
@ -106,7 +106,7 @@ class Context:
|
|||||||
self.tls_cfg[name] = tls_cfg
|
self.tls_cfg[name] = tls_cfg
|
||||||
|
|
||||||
def inspect(self):
|
def inspect(self):
|
||||||
return self.__call__()
|
return self()
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def load_context(cls, name):
|
def load_context(cls, name):
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user