mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-25 03:41:25 -07:00
Fix pylint and pep8 issues exposed by latest ansible-core's ansible-test sanity checks (#8720)
* Remove bad whitespace. * 'Fixing' various used-before-assignment issues that pylint flagged.
This commit is contained in:
parent
5b2711bbd3
commit
9a16eaf9ba
11 changed files with 16 additions and 1 deletions
|
@ -181,6 +181,7 @@ def api_validation(args=None):
|
|||
https://www.memset.com/apidocs/methods_dns.html#dns.zone_record_create)
|
||||
'''
|
||||
failed_validation = False
|
||||
error = None
|
||||
|
||||
# priority can only be integer 0 > 999
|
||||
if not 0 <= args['priority'] <= 999:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue