Adopt mise for development workflows

- Lock Python and uv versions with mise
- Add unified sync, app, test, lint, format, and typecheck tasks
- Update development documentation and strengthen type handling
This commit is contained in:
Philip Henning 2026-09-04 14:39:02 +02:00
parent d04ab6feaf
commit 780d9c12fe
19 changed files with 216 additions and 901 deletions

View file

@ -17,18 +17,20 @@ is reachable in the current application.
## Commands
```bash
uv sync
uv run hosts
uv run pytest
uv run pytest tests/test_parser.py
uv run ruff check .
uv run ruff format --check .
uv run ruff format .
mise install
mise run sync
mise run app
mise run test
mise run test -- tests/test_parser.py
mise run lint
mise run format-check
mise run typecheck
mise run check
mise run format
```
Use `uv run pytest <path>` for the narrowest relevant test during development.
Before handing off a change, run the full test suite, Ruff lint, and Ruff format
check.
Use `mise run test -- <path>` for the narrowest relevant test during
development. Before handing off a change, run `mise run check`.
## Code boundaries