uv sync --extra dev && uv run pre-commit installThat installs the dev toolchain and the git pre-commit hooks. From then
on, black, ruff, detect-secrets, and the standard file hygiene
hooks run automatically on every commit.
To run the full suite against the whole tree (what CI enforces):
uv run pre-commit run --all-filesThe same check runs in CI on every pull request (.github/workflows/lint.yml)
and fails the build on any violation, so a clean local run keeps PRs green.
uv run pytest