Skip to content

Commit 42833cc

Browse files
authored
add uv-pre-commit to handle dependency lock files (#308)
1 parent dae6795 commit 42833cc

File tree

3 files changed

+1623
-0
lines changed

3 files changed

+1623
-0
lines changed

.pre-commit-config.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,3 +27,12 @@ repos:
2727
hooks:
2828
- id: pyproject-fmt
2929
exclude: ^tests/.*$
30+
31+
- repo: https://github.com/astral-sh/uv-pre-commit
32+
rev: 0.8.5
33+
hooks:
34+
- id: uv-lock
35+
- id: uv-export
36+
args: [ "--output-file=pylock.toml" ]
37+
- id: uv-sync
38+
args: [ "--all-extras" ]

0 commit comments

Comments
 (0)