trivial: add noqa markers to new pylint warnings
This commit is contained in:
parent
45fc01e5f5
commit
2ca2ee402c
|
@ -58,6 +58,7 @@ def teardown_module(module):
|
|||
def test_loading():
|
||||
ctl = wcs.qommon.ctl.Ctl(cmd_prefixes=['wcs.ctl'])
|
||||
ctl.load_all_commands(ignore_errors=False)
|
||||
# noqa pylint: disable=consider-iterating-dictionary
|
||||
assert 'shell' in ctl.get_commands().keys()
|
||||
# call all __init__() methods
|
||||
for cmd in ctl.get_commands().values():
|
||||
|
|
|
@ -27,6 +27,7 @@ def setup_module(module):
|
|||
|
||||
|
||||
def teardown_module(module):
|
||||
# noqa pylint: disable=global-variable-not-assigned
|
||||
global pub
|
||||
shutil.rmtree(pub.APP_DIR)
|
||||
|
||||
|
|
|
@ -222,6 +222,7 @@ class StaticsDirectory(Directory):
|
|||
pass
|
||||
|
||||
def _q_traverse(self, path):
|
||||
# noqa pylint: disable=consider-iterating-dictionary
|
||||
if path[0] in self.static_directories.keys():
|
||||
prefix, rest = path[0], path[1:]
|
||||
else:
|
||||
|
|
Loading…
Reference in New Issue