Commit b872532
authored
chore: add uv-lock --check pre-commit hook and dependency-update guidance (#1408)
## Summary
- Add `uv-lock --check` pre-commit hook — fails when `pyproject.toml`
and `uv.lock` drift.
- Add a dependency-update section to `AGENTS.md` covering a case
`--check` doesn't catch.
## Test plan
- [x] Clean tree → `pre-commit run --all-files` passes.
- [x] Mutate `pyproject.toml` without updating lockfile → hook fails.
- [x] Revert → passes.1 parent 59c69f6 commit b872532
2 files changed
Lines changed: 20 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
362 | 362 | | |
363 | 363 | | |
364 | 364 | | |
| 365 | + | |
| 366 | + | |
| 367 | + | |
| 368 | + | |
| 369 | + | |
| 370 | + | |
| 371 | + | |
| 372 | + | |
| 373 | + | |
| 374 | + | |
| 375 | + | |
| 376 | + | |
| 377 | + | |
| 378 | + | |
365 | 379 | | |
366 | 380 | | |
367 | 381 | | |
| |||
0 commit comments