Added linting and got tests passing

This commit is contained in:
2026-05-12 13:26:56 +10:00
parent ca62ed693a
commit cfd6d45189
13 changed files with 53 additions and 48 deletions
+7 -4
View File
@@ -1,10 +1,13 @@
PYTHON=env/bin/python
DROPZONE=5.7.0
test:
coverage run --include "app/*" --omit "*/migrations/*" app/manage.py test app
coverage html
coverage report
test: check
poetry run coverage run --include "app/*" --omit "*/migrations/*" app/manage.py test app
poetry run coverage html
poetry run coverage report
check:
poetry run ruff check app
dev-setup:
env/bin/pip install -r requirements.txt