check uv lockfile

This commit is contained in:
David Soria Parra
2025-02-03 12:33:30 +00:00
parent ce06b6291d
commit a9ae38237d
2 changed files with 34 additions and 0 deletions

View File

@@ -13,3 +13,12 @@ repos:
- id: ruff-format
- id: ruff
args: [--fix, --exit-non-zero-on-fix]
- repo: local
hooks:
- id: uv-lock-check
name: Check uv.lock is up to date
entry: uv lock --check
language: system
files: ^(pyproject\.toml|uv\.lock)$
pass_filenames: false