Skip to content

Commit

Permalink
Add poetry to black/etc.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ash-Crow committed Nov 21, 2023
1 parent 2fdbaa1 commit 85f965f
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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)

0 comments on commit 85f965f

Please sign in to comment.