X-Git-Url: http://git.scottworley.com/pinch/blobdiff_plain/dc038df02de3df877d535f1c978ad7537eaf70a8..b365b52416a5c3d79b96ca9401b5031db4bddba2:/test.sh diff --git a/test.sh b/test.sh index edab8d8..5df81bf 100755 --- a/test.sh +++ b/test.sh @@ -4,11 +4,18 @@ 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 + if [ ! -d "$test" ];then + "$test" + fi +done find . -name '*_test.py' -print0 | xargs -0 -r -n1 python3 -find . -name '*.py' -print0 | xargs -0 pylint --reports=n --persistent=n --ignore-imports=y -d fixme,invalid-name,missing-docstring,too-few-public-methods +find . -name '*.py' -print0 | xargs -0 pylint --reports=n --persistent=n --ignore-imports=y -d fixme,invalid-name,missing-docstring,subprocess-run-check,too-few-public-methods formatting_needs_fixing=$( find . -name '*.py' -print0 |