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:
parent
707ff8c988
commit
39e989245d
1 changed files with 2 additions and 3 deletions
|
|
@ -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/*"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue