]>
git.scottworley.com Git - pinch/blob - test.sh
3a3552316cfdbb932ad0c737232267ec46a331a6
7 find .
-name '*.py' -print0 | xargs -0 mypy
--strict --ignore-missing-imports
9 find .
-name '*_test.py' -print0 | xargs -0 -r -n1 python3
11 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
13 formatting_needs_fixing
=$
(
14 find .
-name '*.py' -print0 |
15 xargs -P "$PARALLELISM" -0 -n1 autopep8
--diff -aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
17 if [[ "$formatting_needs_fixing" ]];then
18 echo "Formatting needs fixing:"
19 echo "$formatting_needs_fixing"