From 544474a5931d01bacfeff8483b2e94f76d8be943 Mon Sep 17 00:00:00 2001 From: Rafael Guterres Jeffman <rjeffman@redhat.com> Date: Thu, 29 Apr 2021 19:03:54 -0300 Subject: [PATCH] Disable pylint's `super-with-arguments`. We still need to support Python 2. --- plugins/module_utils/ansible_freeipa_module.py | 1 + plugins/modules/ipadnszone.py | 1 + 2 files changed, 2 insertions(+) diff --git a/plugins/module_utils/ansible_freeipa_module.py b/plugins/module_utils/ansible_freeipa_module.py index cd0a5b08..9fbd5229 100644 --- a/plugins/module_utils/ansible_freeipa_module.py +++ b/plugins/module_utils/ansible_freeipa_module.py @@ -622,6 +622,7 @@ else: ipa_param_mapping = None def __init__(self, *args, **kwargs): + # pylint: disable=super-with-arguments super(FreeIPABaseModule, self).__init__(*args, **kwargs) # Attributes to store kerberos credentials (if needed) diff --git a/plugins/modules/ipadnszone.py b/plugins/modules/ipadnszone.py index 4ed9a9d2..e0dc56c9 100644 --- a/plugins/modules/ipadnszone.py +++ b/plugins/modules/ipadnszone.py @@ -504,6 +504,7 @@ class DNSZoneModule(FreeIPABaseModule): self.add_ipa_command("dnszone_mod", zone_name, args) def process_command_result(self, name, command, args, result): + # pylint: disable=super-with-arguments super(DNSZoneModule, self).process_command_result( name, command, args, result ) -- GitLab