Skip to content

Commit f65f62f

Browse files
committed
Always the black configuration in pyproject.toml
1 parent a83fceb commit f65f62f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Makefile

+2-2
Original file line numberDiff line numberDiff line change
@@ -406,15 +406,15 @@ black: requirements .black-format
406406
echo "Running black on" $$component; \
407407
echo "==========================================================="; \
408408
. $(VIRTUALENV_DIR)/bin/activate ; black --config pyproject.toml $$component/ || exit 1; \
409-
. $(VIRTUALENV_DIR)/bin/activate ; black $$(grep -rl '^#!/.*python' $$component/bin) || exit 1; \
409+
. $(VIRTUALENV_DIR)/bin/activate ; black --config pyproject.toml $$(grep -rl '^#!/.*python' $$component/bin) || exit 1; \
410410
done
411411
# runner modules and packages
412412
@for component in $(COMPONENTS_RUNNERS); do\
413413
echo "==========================================================="; \
414414
echo "Running black on" $$component; \
415415
echo "==========================================================="; \
416416
. $(VIRTUALENV_DIR)/bin/activate ; black --config pyproject.toml $$component/ || exit 1; \
417-
. $(VIRTUALENV_DIR)/bin/activate ; black $$(grep -rl '^#!/.*python' $$component/bin) || exit 1; \
417+
. $(VIRTUALENV_DIR)/bin/activate ; black --config pyproject.toml $$(grep -rl '^#!/.*python' $$component/bin) || exit 1; \
418418
done
419419
. $(VIRTUALENV_DIR)/bin/activate; black --config pyproject.toml contrib/ || exit 1;
420420
. $(VIRTUALENV_DIR)/bin/activate; black --config pyproject.toml scripts/*.py || exit 1;

0 commit comments

Comments
 (0)