fix(tools): another fix for format_python.sh after shellcheck changes

This commit is contained in:
Arthur Meyre
2021-09-22 13:42:18 +02:00
parent fd57055b46
commit 2c19cd3122

View File

@@ -37,9 +37,9 @@ do
done
for SRC_DIR in "${DIRS[@]}"; do
isort --profile black "${CHECK}" "${SRC_DIR}"
isort --profile black ${CHECK:+"$CHECK"} "${SRC_DIR}"
((FAILURES+=$?))
black -l 100 "${CHECK}" "${SRC_DIR}"
black -l 100 ${CHECK:+"$CHECK"} "${SRC_DIR}"
((FAILURES+=$?))
done