diff options
author | Daniel Watkins <oddbloke@ubuntu.com> | 2020-05-14 15:39:19 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-14 15:39:19 -0400 |
commit | 09492b1d0f4b1826a7a98709c61d48bf14a1ec64 (patch) | |
tree | 9150f282f7925c331235d1bb7199ba5b778c146e /cloudinit/tests/test_conftest.py | |
parent | 4261ae538563d262bc76b8c55f7cc0c8abb14b00 (diff) | |
download | vyos-cloud-init-09492b1d0f4b1826a7a98709c61d48bf14a1ec64.tar.gz vyos-cloud-init-09492b1d0f4b1826a7a98709c61d48bf14a1ec64.zip |
cloudinit: minor pylint fixes (#360)
We recently discovered that pylint is failing to report some errors when
invoked across our entire codebase (see
https://github.com/PyCQA/pylint/issues/3611). I've run pylint across
every Python file under cloudinit/[0], and this commit fixes the issues
so-discovered.
[0] find cloudinit/ -name "*.py" | xargs -n 1 -t .tox/pylint/bin/python -m pylint
Diffstat (limited to 'cloudinit/tests/test_conftest.py')
-rw-r--r-- | cloudinit/tests/test_conftest.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cloudinit/tests/test_conftest.py b/cloudinit/tests/test_conftest.py index 11b91327..b39637d8 100644 --- a/cloudinit/tests/test_conftest.py +++ b/cloudinit/tests/test_conftest.py @@ -13,6 +13,8 @@ class TestDisableSubpUsage: def test_typeerrors_on_incorrect_usage(self): with pytest.raises(TypeError): + # We are intentionally passing no value for a parameter, so: + # pylint: disable=no-value-for-parameter util.subp() @pytest.mark.parametrize('disable_subp_usage', [False], indirect=True) |