From 2af3169e2ad2ec14405c5604cc65eeafdcd8d29e Mon Sep 17 00:00:00 2001 From: Victor Valar Date: Sat, 8 Nov 2025 19:02:41 -0300 Subject: [PATCH] fix: Update uv-export-locked hook to use script language and always run --- .pre-commit-config.yaml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 4f11ee5..efafca2 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -6,10 +6,12 @@ repos: hooks: - id: uv-export-locked name: Export requirements.txt from lockfile - entry: bash -c 'uv export --no-cache --no-dev --locked > requirements.txt && git add requirements.txt' - language: system + entry: bash -lc 'uv export --no-cache --no-dev --locked > requirements.txt && git add requirements.txt' + language: script pass_filenames: false stages: [ commit ] + always_run: true + - id: black name: Format with Black