]>
git.scottworley.com Git - pinch/blob - test.sh
9485418e5e9ecd33d4a7174deb255770113cf7d3
7 find .
-name '*.py' -print0 | xargs -0 mypy
--strict --ignore-missing-imports
10 if [ ! -d "$test" ];then
15 find .
-name '*_test.py' -print0 | xargs -0 -r -n1 python3
17 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
19 formatting_needs_fixing
=$
(
20 find .
-name '*.py' -print0 |
21 xargs -P "$PARALLELISM" -0 -n1 autopep8
--diff -aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
23 if [[ "$formatting_needs_fixing" ]];then
24 echo "Formatting needs fixing:"
25 echo "$formatting_needs_fixing"