mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 13:52:54 +00:00
[stable-5] Fix pylint errors (#5938)
Fix pylint errors (#5933)
* Fix pylint errors.
* Also adjust to https://github.com/ansible/ansible/pull/79909.
(cherry picked from commit b1d9507cd2)
This commit is contained in:
@@ -181,7 +181,7 @@ def main():
|
||||
required=False, choices=["present", "absent"], default="present"
|
||||
),
|
||||
)
|
||||
),
|
||||
)
|
||||
|
||||
module = AnsibleModule(argument_spec=argument_spec)
|
||||
|
||||
|
||||
@@ -116,7 +116,7 @@ def main():
|
||||
dict(
|
||||
organization=dict(required=False, type="str", default=None, aliases=["org"])
|
||||
)
|
||||
),
|
||||
)
|
||||
|
||||
module = AnsibleModule(argument_spec=argument_spec, supports_check_mode=True)
|
||||
|
||||
|
||||
@@ -336,7 +336,7 @@ def main():
|
||||
user_gravatar=dict(required=False, type="bool", default=None),
|
||||
user_mac_addresses=dict(required=False, type="list", elements="str", default=None),
|
||||
)
|
||||
),
|
||||
)
|
||||
|
||||
module = AnsibleModule(argument_spec=argument_spec)
|
||||
|
||||
|
||||
@@ -158,7 +158,7 @@ def main():
|
||||
default="client",
|
||||
),
|
||||
)
|
||||
),
|
||||
)
|
||||
|
||||
module = AnsibleModule(argument_spec=argument_spec, supports_check_mode=True)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user