From 6048e6025dc68214cc2732f6fdd713d0b66aa1c2 Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Sun, 24 Sep 2017 17:32:26 +0300 Subject: Add: run pep8 on Python sources --- check | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'check') diff --git a/check b/check index d78223a..e7ec643 100755 --- a/check +++ b/check @@ -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" -- cgit v1.2.1