diff options
Diffstat (limited to 'zephyr/zmake/run_tests.sh')
-rwxr-xr-x | zephyr/zmake/run_tests.sh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/zephyr/zmake/run_tests.sh b/zephyr/zmake/run_tests.sh index 4796704440..54d0bf98a4 100755 --- a/zephyr/zmake/run_tests.sh +++ b/zephyr/zmake/run_tests.sh @@ -36,3 +36,9 @@ flake8 . # Check auto-generated README.md is as expected. python -m zmake generate-readme --diff + +# Check that cros lint has no errors, we can't actually call cros lint +# because there is no way to pass the -E flag to pylint. +# When there are no warnings, switch this to `cros lint` +find . -name '*.py' -print0 | xargs -0 \ + /mnt/host/source/chromite/cli/cros/pylint-2 '--rcfile=.pylintrc' -E |