- Lock Python and uv versions with mise - Add unified sync, app, test, lint, format, and typecheck tasks - Update development documentation and strengthen type handling
42 lines
805 B
TOML
42 lines
805 B
TOML
[tools]
|
|
python = "3.13"
|
|
uv = "0.12"
|
|
|
|
[settings]
|
|
lockfile = true
|
|
|
|
[tool_config]
|
|
locked = true
|
|
|
|
[tasks.sync]
|
|
description = "Synchronize project dependencies"
|
|
run = "uv sync"
|
|
|
|
[tasks.app]
|
|
description = "Run the hosts application"
|
|
run = "uv run hosts"
|
|
|
|
[tasks.test]
|
|
description = "Run the test suite"
|
|
run = "uv run pytest"
|
|
raw = true
|
|
|
|
[tasks.lint]
|
|
description = "Check code with Ruff"
|
|
run = "uv run ruff check ."
|
|
|
|
[tasks.format]
|
|
description = "Format code with Ruff"
|
|
run = "uv run ruff format ."
|
|
|
|
[tasks.format-check]
|
|
description = "Check formatting with Ruff"
|
|
run = "uv run ruff format --check ."
|
|
|
|
[tasks.typecheck]
|
|
description = "Type-check the project with ty"
|
|
run = "uv run ty check"
|
|
|
|
[tasks.check]
|
|
description = "Run the complete validation suite"
|
|
depends = ["test", "lint", "format-check", "typecheck"]
|