Skip to content

Quickly sandbox your AI agent.

Python

Make the pre-commit sync hook use uv sync --locked

Tyler Paynee6b0dd5dc134
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 2ae92e1..47cc1bf 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -3,7 +3,7 @@ repos:
hooks:
- id: sync
name: sync
- entry: uv sync
+ entry: uv sync --locked
language: system
pass_filenames: false
always_run: true