diff --git a/test/src/test_pylint.py b/test/src/test_pylint.py index 8542b037..c2f37130 100644 --- a/test/src/test_pylint.py +++ b/test/src/test_pylint.py @@ -52,7 +52,9 @@ def test_pylint(source_files): # modules we have. # - subprocess.run(["pylint"] + source_files, check=True) + r = subprocess.run(["pylint"] + source_files, check=False) + if r.returncode != 0: + pytest.fail("pylint issues detected") @pytest.mark.skipif(not test.TestBase.have_autopep8(), reason="autopep8 not available")