X-Git-Url: http://git.scottworley.com/pinch/blobdiff_plain/89e79125a08a7dbc1882ce356270682836ac0ebb..8ce159d26ebefd19a7ac6ef8c0c64b460cfcf384:/test.sh diff --git a/test.sh b/test.sh index 779a65b..9485418 100755 --- a/test.sh +++ b/test.sh @@ -6,9 +6,15 @@ PARALLELISM=4 find . -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 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 |