summaryrefslogtreecommitdiff
path: root/check
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2017-04-07 15:15:23 +0300
committerLars Wirzenius <liw@liw.fi>2017-04-07 15:15:23 +0300
commit9a6dd537c7baeb3f62f26b974f9dcdf9010cb5e2 (patch)
tree42ca333443ee477c56a10dae460ace18105dcc5b /check
parent6b7f99939141afebbc88f5ec68a083fda738da4b (diff)
downloaddistix-9a6dd537c7baeb3f62f26b974f9dcdf9010cb5e2.tar.gz
Move check -running from setup.py to shell script
This lets me add optional args to yarn more easily.
Diffstat (limited to 'check')
-rwxr-xr-xcheck13
1 files changed, 13 insertions, 0 deletions
diff --git a/check b/check
index f4c6167..0858d02 100755
--- a/check
+++ b/check
@@ -2,6 +2,19 @@
set -eu
+python -m CoverageTestRunner --ignore-missing-from=without-tests
+rm -f .coverage
+
+if command -v pep8 > /dev/null
+then
+ pep8 distixlib
+fi
+
+if command -v pylint > /dev/null
+then
+ pylint --rcfile=pylint.conf distixlib
+fi
+
yarn yarns/*.yarn \
--shell python2 \
--shell-arg '' \