Skip to content

Commit 2a36dd5

Browse files
authored
INTPYTHON-767 Improve lockfile update handling (#214)
1 parent 1c242cc commit 2a36dd5

File tree

4 files changed

+10
-11
lines changed

4 files changed

+10
-11
lines changed

.pre-commit-config.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,5 +62,7 @@ repos:
6262
language: python
6363
require_serial: true
6464
fail_fast: true
65+
pass_filenames: false
66+
files: ^(uv\.lock|pyproject\.toml)$
6567
additional_dependencies:
6668
- uv

libs/langgraph-checkpoint-mongodb/uv.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

scripts/update-locks.sh

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,9 @@
11
#!/bin/bash
22
set -eu
33

4-
python -m uv lock
5-
6-
pushd libs/langgraph-checkpoint-mongodb
7-
python -m uv lock
8-
popd
9-
10-
pushd libs/langchain-mongodb
11-
python -m uv lock
12-
popd
4+
find . -type f -name "uv.lock" | while read -r file; do
5+
dir=$(dirname "$file")
6+
(
7+
cd "$dir" && uv lock
8+
)
9+
done

uv.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)