test: enable pylint warnings

Make pylint complain about warnings, not just errors. There are lots of
useful warnings and we generally do adhere to the coding-styles.
This commit is contained in:
David Rheinsberg 2020-05-26 17:37:19 +02:00
parent 707ff8c988
commit 39e989245d

View file

@ -18,11 +18,10 @@ class TestPylint(test.TestBase, unittest.TestCase):
#
path = self.locate_test_checkout()
options = "--errors-only"
subprocess.run(f"find {path} -type f -name '*.py' | xargs pylint {options}",
subprocess.run(f"find {path} -type f -name '*.py' | xargs pylint",
shell=True, check=True)
subprocess.run(f"pylint {options}"
subprocess.run("pylint"
+ f" {path}/assemblers/*"
+ f" {path}/runners/*"
+ f" {path}/sources/*"