for test in tests/*;do
if [ ! -d "$test" ];then
+ echo "### Running test $test" >&2
"$test"
fi
done
find . -name '*.py' -print0 |
xargs -P "$PARALLELISM" -0 -n1 autopep8 --diff -aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
)
- if [[ "$formatting_needs_fixing" ]];then
+ if [ -n "$formatting_needs_fixing" ];then
echo "Formatting needs fixing:"
echo "$formatting_needs_fixing"
exit 1