Skip to content

Commit bfe0ec9

Browse files
Add pre-commits to sync lockfile
1 parent b06af8c commit bfe0ec9

2 files changed

Lines changed: 23 additions & 2 deletions

File tree

.pre-commit-config.yaml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,25 @@
1+
default_install_hook_types:
2+
- pre-commit
3+
- post-checkout
4+
- post-merge
5+
- post-rewrite
16
repos:
7+
- repo: local
8+
hooks:
9+
- id: uv-lock
10+
name: uv-lock
11+
entry: uv lock
12+
files: ^(uv\.lock|pyproject\.toml|uv\.toml)$
13+
language: system
14+
always_run: true
15+
pass_filenames: false
16+
- id: uv-sync
17+
name: uv-sync
18+
entry: uv sync --no-active
19+
args: ["--locked"]
20+
language: system
21+
always_run: true
22+
pass_filenames: false
223
- repo: https://github.com/pre-commit/pre-commit-hooks
324
rev: v5.0.0
425
hooks:

uv.lock

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)