#!/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