summaryrefslogtreecommitdiff
path: root/check
blob: 0858d020c62cd8bdf2db876dde447b4e644f432a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/bin/sh

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 '' \
     --shell-library yarns/lib.py \
     --cd-datadir \
     "$@"