mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-10-07 00:44:01 -07:00
Enable additional pylint rules and resolve issues found. (#47221)
* Resolve unneeded-not. * Resolve global-at-module-level. * Resolve useless-import-alias. * Resolve bad-whitespace. * Resolve global-variable-not-assigned. * Resolve logging-not-lazy. * Resolve comparison-with-itself.
This commit is contained in:
parent
77d32b8f57
commit
37b013aca3
29 changed files with 42 additions and 53 deletions
|
@ -316,7 +316,6 @@ RHEV_UNAVAILABLE = 2
|
|||
RHEV_TYPE_OPTS = ['server', 'desktop', 'host']
|
||||
STATE_OPTS = ['ping', 'present', 'absent', 'up', 'down', 'restart', 'cd', 'info']
|
||||
|
||||
global msg, changed, failed
|
||||
msg = []
|
||||
changed = False
|
||||
failed = False
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue