Skip to content

Commit

Permalink
Ignore too-many-positional-arguments in base modules
Browse files Browse the repository at this point in the history
  • Loading branch information
zliang-akamai committed Sep 25, 2024
1 parent 87acde1 commit 5b35e9c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions plugins/module_utils/linode_common.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
1 change: 1 addition & 0 deletions plugins/module_utils/linode_common_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
1 change: 1 addition & 0 deletions plugins/module_utils/linode_common_list.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 5b35e9c

Please sign in to comment.