From dcefef416ebfbcfc63a12458bcb0fc105dc19901 Mon Sep 17 00:00:00 2001 From: Zhiwei Liang Date: Wed, 25 Sep 2024 17:45:28 -0400 Subject: [PATCH] Ignore `too-many-positional-arguments` in base modules --- plugins/module_utils/linode_common.py | 1 + plugins/module_utils/linode_common_info.py | 1 + plugins/module_utils/linode_common_list.py | 1 + 3 files changed, 3 insertions(+) diff --git a/plugins/module_utils/linode_common.py b/plugins/module_utils/linode_common.py index b05dfc95..7ec017ba 100644 --- a/plugins/module_utils/linode_common.py +++ b/plugins/module_utils/linode_common.py @@ -107,6 +107,7 @@ class LinodeModuleBase: """A base for all Linode resource modules.""" + ## pylint: disable=too-many-positional-arguments def __init__( self, module_arg_spec: dict, diff --git a/plugins/module_utils/linode_common_info.py b/plugins/module_utils/linode_common_info.py index ce5a2a0c..a13ae4d0 100644 --- a/plugins/module_utils/linode_common_info.py +++ b/plugins/module_utils/linode_common_info.py @@ -113,6 +113,7 @@ class InfoModuleResult: class InfoModule(LinodeModuleBase): """A common module for listing API resources given a set of filters.""" + # pylint: disable=too-many-positional-arguments def __init__( self, primary_result: InfoModuleResult, diff --git a/plugins/module_utils/linode_common_list.py b/plugins/module_utils/linode_common_list.py index 7db6a4fb..517739f3 100644 --- a/plugins/module_utils/linode_common_list.py +++ b/plugins/module_utils/linode_common_list.py @@ -45,6 +45,7 @@ class ListModule( ): # pylint: disable=too-many-instance-attributes """A common module for listing API resources given a set of filters.""" + # pylint: disable=too-many-positional-arguments def __init__( self, result_display_name: str,