#!/bin/bash if [[ $(python -V 2>&1) =~ "Python 2" ]] then nosetests --nocapture --with-doctest --doctest-tests -I ^test.py $* && \ pycodestyle --ignore=E402,W504 screenplain tests else python test.py && pycodestyle --ignore=E402,W504 screenplain tests fi