X-Git-Url: http://git.scottworley.com/pinch/blobdiff_plain/49d58bdf61c8ee7da0de30a3c806e3964f583831..b365b52416a5c3d79b96ca9401b5031db4bddba2:/test.sh?ds=sidebyside diff --git a/test.sh b/test.sh index 9823458..5df81bf 100755 --- a/test.sh +++ b/test.sh @@ -4,10 +4,13 @@ set -e PARALLELISM=4 -find . -name '*.py' -print0 | xargs -0 mypy --strict --ignore-missing-imports +find . -name build -prune -o -name dist -prune -o -name '*.py' -print0 | + xargs -0 mypy --strict --ignore-missing-imports for test in tests/*;do - "$test" + if [ ! -d "$test" ];then + "$test" + fi done find . -name '*_test.py' -print0 | xargs -0 -r -n1 python3