mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 13:22:48 +00:00
Miscellaneous pylint fixes.
The following rules are no longer disabled: - bad-format-string - duplicate-key - lost-exception - trailing-newlines - unexpected-keyword-arg - useless-suppression - using-constant-test
This commit is contained in:
@@ -33,7 +33,6 @@ class AnsibleFailJson(Exception):
|
||||
class ModuleMocked():
|
||||
def fail_json(self, msg):
|
||||
raise AnsibleFailJson(msg)
|
||||
pass
|
||||
|
||||
|
||||
module = ModuleMocked()
|
||||
|
||||
Reference in New Issue
Block a user