Project: pygitweb

# Mirrors [tool.pgt].actions for mise CLI / CI. pgt remains the TUI source of truth
# for those scripts; this file is the mise-compatible parallel surface.
# Task names stay distinct from pgt action names so the dual-source catalog can
# declare depends without flat-namespace collisions.
[tasks.ruff-check]
description = "ruff check --fix"
run = "uv run python scripts/ruff_check.py"
[tasks.ruff-format]
description = "ruff format --preview"
run = "uv run python scripts/ruff_format.py"
[tasks.typecheck]
description = "mypy"
run = "uv run python scripts/mypy.py"
[tasks.test]
description = "pytest"
run = "uv run python scripts/pytest.py"
[tasks.check]
description = "Run default quality checks"
depends = ["ruff-check", "ruff-format", "typecheck", "test"]