new: pre-commit runs lint plus gitleaks (#74)

Local hooks run the same Ruff, pyright and import-linter checks as
`just lint` through `uv run`, so versions come from uv.lock; gitleaks
comes from its upstream hook.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
BobbyandClaude Opus 5.5 committed 2026-11-27 17:01:10 -05:00
1 parent a01c785842
commit 2402a9dbdd
4 files changed
+168 -1

No files matched your search

+2 -1
View File
@@ -2,11 +2,12 @@ starting fresh yo
## Development
The only tool needed outside the project is [uv](https://docs.astral.sh/uv/). Everything else is a dev dependency in the project venv:
The only tool needed outside the project is [uv](https://docs.astral.sh/uv/). Everything else (`just`, `pre-commit`, Ruff, pyright, import-linter) is a dev dependency in the project venv:
```sh
uv sync # create .venv with all dev tools
uv run just lint # Ruff, pyright strict, import-linter
uv run just test # pytest
uv run just dev # API on :8000, probes on :8081
uv run pre-commit install # optional: run lint + gitleaks on commit
```