mirror of
https://github.com/ansible-collections/community.docker.git
synced 2026-03-15 19:58:28 +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
|
||||
subprocess-popen-preexec-fn,
|
||||
unexpected-keyword-arg,
|
||||
unnecessary-dunder-call,
|
||||
unnecessary-pass,
|
||||
unsupported-assignment-operation, # TODO: needs better typing info
|
||||
unused-argument,
|
||||
|
||||
@ -106,7 +106,7 @@ class Context:
|
||||
self.tls_cfg[name] = tls_cfg
|
||||
|
||||
def inspect(self):
|
||||
return self.__call__()
|
||||
return self()
|
||||
|
||||
@classmethod
|
||||
def load_context(cls, name):
|
||||
|
||||
Loading…
Reference in New Issue
Block a user