This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
.PHONY: install migrate seed local-admin run run-asgi test check
|
||||
.PHONY: install migrate seed local-admin run run-asgi test check context-check
|
||||
|
||||
install:
|
||||
python3 -m venv .venv
|
||||
@@ -23,7 +23,10 @@ run-asgi:
|
||||
test:
|
||||
.venv/bin/python -m pytest -q
|
||||
|
||||
check:
|
||||
context-check:
|
||||
python3 scripts/check_context.py
|
||||
|
||||
check: context-check
|
||||
.venv/bin/ruff check backend scripts
|
||||
cd backend && ../.venv/bin/python manage.py check
|
||||
cd backend && ../.venv/bin/python manage.py makemigrations --check --dry-run
|
||||
|
||||
Reference in New Issue
Block a user