mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-06-03 14:56:58 +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:
parent
77b2aca5a2
commit
442af3744e
35 changed files with 17 additions and 43 deletions
|
|
@ -41,7 +41,6 @@ class TestNetscalerCSActionModule(TestModule):
|
|||
nssrc_modules_mock = {
|
||||
'nssrc.com.citrix.netscaler.nitro.resource.config.cs': m,
|
||||
'nssrc.com.citrix.netscaler.nitro.resource.config.cs.csaction': m,
|
||||
'nssrc.com.citrix.netscaler.nitro.resource.config.cs.csaction': m,
|
||||
'nssrc.com.citrix.netscaler.nitro.resource.config.cs.csaction.csaction': cls.cs_action_mock,
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -33,7 +33,6 @@ class AnsibleFailJson(Exception):
|
|||
class ModuleMocked():
|
||||
def fail_json(self, msg):
|
||||
raise AnsibleFailJson(msg)
|
||||
pass
|
||||
|
||||
|
||||
module = ModuleMocked()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue