mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-05-02 15:21:25 -07: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
|
@ -104,6 +104,7 @@ class TestVariableManager(unittest.TestCase):
|
|||
# FIXME: BCS make this work
|
||||
return
|
||||
|
||||
# pylint: disable=unreachable
|
||||
fake_loader = DictDataLoader({})
|
||||
|
||||
mock_task = MagicMock()
|
||||
|
@ -134,6 +135,8 @@ class TestVariableManager(unittest.TestCase):
|
|||
def test_variable_manager_precedence(self):
|
||||
# FIXME: this needs to be redone as dataloader is not the automatic source of data anymore
|
||||
return
|
||||
|
||||
# pylint: disable=unreachable
|
||||
'''
|
||||
Tests complex variations and combinations of get_vars() with different
|
||||
objects to modify the context under which variables are merged.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue