Skip to content

Commit 65fc704

Browse files
committed
Add uv-lock pre-commit hook
- Add astral-sh/uv-pre-commit hook to automatically keep uv.lock in sync - Hook runs uv-lock to ensure lockfile is up to date with pyproject.toml changes
1 parent eea75c3 commit 65fc704

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.pre-commit-config.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,11 @@ repos:
2929
hooks:
3030
- id: ruff
3131
- id: ruff-format
32+
- repo: https://github.com/astral-sh/uv-pre-commit
33+
# uv version.
34+
rev: 0.8.3
35+
hooks:
36+
- id: uv-lock
3237
- repo: https://github.com/dosisod/refurb
3338
rev: v2.1.0
3439
hooks:

0 commit comments

Comments
 (0)