diff options
Diffstat (limited to 'run_tests')
-rwxr-xr-x | run_tests | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -1,5 +1,11 @@ #!/bin/sh NOSE=$(command -v nose2-3 || command -v nose2) -$NOSE --with-coverage --coverage-report=term-missing +if [ x'--coverage' = x$1 ] +then + COVERAGE='--with-coverage --coverage-report=term-missing' +else + COVERAGE='' +fi +$NOSE $COVERAGE flake8 . mypy pyapd |