1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2026-04-16 17:01:30 +00:00

[stable-4] Fix pylint errors (#5939)

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:
Felix Fontein 2023-02-04 17:28:18 +01:00 committed by GitHub
parent a7783c48ff
commit bbe74d2b17
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 10 additions and 7 deletions

View file

@ -180,7 +180,7 @@ def main():
required=False, choices=["present", "absent"], default="present"
),
)
),
)
module = AnsibleModule(argument_spec=argument_spec)

View file

@ -115,7 +115,7 @@ def main():
dict(
organization=dict(required=False, type="str", default=None, aliases=["org"])
)
),
)
module = AnsibleModule(argument_spec=argument_spec, supports_check_mode=True)

View file

@ -324,7 +324,7 @@ def main():
user_disabled=dict(required=False, type="bool", default=None),
user_gravatar=dict(required=False, type="bool", default=None),
)
),
)
module = AnsibleModule(argument_spec=argument_spec)

View file

@ -157,7 +157,7 @@ def main():
default="client",
),
)
),
)
module = AnsibleModule(argument_spec=argument_spec, supports_check_mode=True)