diff options
author | Lars Wirzenius <liw@liw.fi> | 2017-09-24 17:32:26 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2017-09-24 18:19:31 +0300 |
commit | 6048e6025dc68214cc2732f6fdd713d0b66aa1c2 (patch) | |
tree | f4cff634ce8b05fad505b8a942fda3a9394505b0 /check | |
parent | 22ceeee6790b00fdaf39d30f10979a454f0a2ea4 (diff) | |
download | ick2-6048e6025dc68214cc2732f6fdd713d0b66aa1c2.tar.gz |
Add: run pep8 on Python sources
Diffstat (limited to 'check')
-rwxr-xr-x | check | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -33,6 +33,7 @@ title() title Unit tests python3 -m CoverageTestRunner --ignore-missing-from=without-tests ick2 + if [ -e .git ] then sources="$(git ls-files | grep -Fvxf copyright-exceptions)" @@ -44,6 +45,11 @@ then ./is-agpl3+ $sources fi +python_sources="ick_controller.py worker-manager ick2" + +title pycodestyle +pycodestyle ick2 $python_sources + title Yarns yarn yarns/*.yarn \ --shell python2 \ @@ -51,3 +57,7 @@ yarn yarns/*.yarn \ --shell-library yarns/lib.py \ --cd-datadir \ "$@" + + +title OK +echo "All tests pass" |