fix: Update uv-export-locked hook to use script language and always run

This commit is contained in:
Victor Valar
2025-11-08 19:16:35 -03:00
parent 15d6d412eb
commit 2af3169e2a
+4 -2
View File
@@ -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