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>
14 lines
534 B
Markdown
14 lines
534 B
Markdown
starting fresh yo
|
|
|
|
## Development
|
|
|
|
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
|
|
```
|