Skip to content

Commit 8f1953e

Browse files
authored
Add dependabot instructions (#209)
1 parent a42c0b6 commit 8f1953e

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

CONTRIBUTING.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,10 @@ If using `ollama`, we have a convenience script to download the library used in
5353
scripts/setup_ollama.sh
5454
```
5555

56+
### Dependency updates
57+
58+
Dependabot will raise PRs at most once per week, grouped by GitHub Actions updates and Python requirement file updates. We have a pre-commit hook that will update the uv.lock files when requirements change. To update the locks file on a failing PR, you can use a method like gh pr checkout <pr number>, then run `just update-locks` to update the lock file, and then push the changes. If a typing dependency has changed, also run `just typing` in the appropriate package(s) and handle any new findings.
59+
5660
### Testing
5761

5862
Unit tests cover modular logic that does not require calls to outside APIs.

justfile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,7 @@ default:
77

88
docs:
99
uv run sphinx-build -T -b html docs docs/_build/html
10+
11+
12+
update-locks:
13+
uvx pre-commit run --all-files update-locks

0 commit comments

Comments
 (0)