From abc80d8cbe038f2df2d0fa95d1d46ea4bbf5da65 Mon Sep 17 00:00:00 2001 From: "Jonathan B. Coe" Date: Sun, 8 Feb 2026 01:48:59 +0000 Subject: [PATCH] Add a pre-commit check to ensure that the uv lockfile is up to date. --- .pre-commit-config.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 463bc41a0..a82881cb6 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -22,3 +22,8 @@ repos: - id: taplo-format repo: https://github.com/ComPWA/taplo-pre-commit rev: v0.9.3 + - hooks: + - description: Ensure that the committed uv.lock file is up to date. + id: uv-lock + repo: https://github.com/astral-sh/uv-pre-commit + rev: 0.10.0