]>
git.scottworley.com Git - git-cache/blob - test.sh
dbdf643578b04f3125105cd71e6c29477a908a51
7 find .
-name build
-prune -o -name dist
-prune -o -name '*.py' -print0 |
8 xargs -0 mypy
--strict --ignore-missing-imports --no-warn-unused-ignores --allow-untyped-decorators
12 if [ "$1" = lint
];then
14 find .
-name '*.py' -print0 | xargs -0 pylint
--reports=n
--persistent=n
--ignore-imports=y
-d invalid
-name,missing
-docstring
16 formatting_needs_fixing
=$
(
17 find .
-name '*.py' -print0 |
18 xargs -P "$PARALLELISM" -0 -n1 autopep8
--diff -aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
20 if [[ "$formatting_needs_fixing" ]];then
21 echo "Formatting needs fixing:"
22 echo "$formatting_needs_fixing"