aboutsummaryrefslogtreecommitdiff
path: root/run_tests
blob: b150be04b5548fa49404aefbf91afdbca3d302d6 (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh
NOSE=$(command -v nose2-3 || command -v nose2)
if [ x'--coverage' = x$1 ]
then
    COVERAGE='--with-coverage --coverage-report=term-missing'
else
    COVERAGE=''
fi
$NOSE $COVERAGE
flake8 .
mypy pyapd