Skip to content

Commit 3163b59

Browse files
committed
try with bash script
1 parent 5f1b13d commit 3163b59

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ repos:
125125

126126
- id: uv-lock
127127
name: uv-lock
128-
entry: uv lock
128+
entry: bash ./tools/update-locks.sh
129129
language: python
130130
require_serial: true
131131
files: ^(uv\.lock|pyproject\.toml|requirements.txt|requirements/.*\.txt)$

tools/update-locks.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/bin/bash
2+
set -eu
3+
4+
uv lock

0 commit comments

Comments
 (0)