From 85f965f85c99c625d87798e4a8e434881f959c4e Mon Sep 17 00:00:00 2001 From: Sylvain Boissel Date: Tue, 21 Nov 2023 14:29:30 +0100 Subject: [PATCH] Add poetry to black/etc. --- Makefile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index 6577726b..5a741d18 100644 --- a/Makefile +++ b/Makefile @@ -27,14 +27,14 @@ test: test-e2e test-unit .PHONY: quality quality: - $(EXEC_CMD) black --check --exclude=venv . - $(EXEC_CMD) isort --check --skip-glob="**/migrations" --extend-skip-glob="venv" . - $(EXEC_CMD) flake8 --count --show-source --statistics --exclude=venv . + $(EXEC_CMD) poetry run black --check --exclude=venv . + $(EXEC_CMD) poetry run isort --check --skip-glob="**/migrations" --extend-skip-glob="venv" . + $(EXEC_CMD) poetry run flake8 --count --show-source --statistics --exclude=venv . .PHONY: fix fix: - $(EXEC_CMD) black --exclude=venv . - $(EXEC_CMD) isort --skip-glob="**/migrations" --extend-skip-glob="venv" . + $(EXEC_CMD) poetry run black --exclude=venv . + $(EXEC_CMD) poetry run isort --skip-glob="**/migrations" --extend-skip-glob="venv" . runserver: $(EXEC_CMD) poetry run python manage.py runserver $(HOST_URL):$(HOST_PORT)