Skip to content

Commit 9ce14ea

Browse files
committed
[DOP-22532] add --lock option for uv pre-commit hook
1 parent 46edc8b commit 9ce14ea

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.pre-commit-config.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,8 @@ repos:
9191
rev: 0.8.19
9292
hooks:
9393
- id: uv-lock
94-
args: [--prerelease=allow]
94+
# https://github.com/astral-sh/uv/issues/10176
95+
args: [--prerelease=allow, --locked, --offline]
9596

9697
- repo: local
9798
hooks:

0 commit comments

Comments
 (0)