teilchensammler/justfile
bronsen 6de8b07d1b [just] validate templates when linting django
The is from package django_extensions
2025-03-17 17:13:49 +01:00

27 lines
428 B
Makefile

deps:
pip-compile-multi --uv
sync:
pip-sync requirements/dev.txt
freshdeps: deps sync
lint: lint-ruff lint-django lint-woodpecker
lint-ruff:
ruff check .
lint-django:
python -m django check
python -m django validate_templates
lint-woodpecker:
-woodpecker-cli lint .woodpecker/workflow.yaml
serve:
python -m django runserver
test *ARGS:
ENV_PATH=.env.test python -m pytest {{ARGS}}
alias fd := freshdeps