# applicants: dev workflow. Uses uv (https://docs.astral.sh/uv/) for a local # .venv. Requires `uv` on PATH. # # Local run needs config.yaml (from config.yaml.example) and, for OAuth, # TLS certs under certs/ (see certs/README.md). .PHONY: install run test check thirdparty clean install: uv sync run: install uv run python main.py test: install uv run pytest -q # Lint and format, as a pre-commit hook would. check: install uv run ruff check . uv run ruff format --check . # Vendor Bootstrap and its icons into static/ (see bin/fetch-thirdparty.sh). thirdparty: ./bin/fetch-thirdparty.sh bootstrap icons clean: find . -name __pycache__ -type d -prune -exec rm -rf {} + rm -rf .venv .pytest_cache .ruff_cache