pre-commit: don't fail silent
All checks were successful
build / test (pull_request) Successful in 22s
All checks were successful
build / test (pull_request) Successful in 22s
if mypy fails we don't know why
This commit is contained in:
parent
acc648fc6b
commit
745368242d
|
@ -46,7 +46,7 @@ git stash push --quiet --keep-index --message "treefmt pre-commit"
|
|||
trap restore_stash EXIT
|
||||
|
||||
# Run treefmt on the files in the index and record the result.
|
||||
nix fmt -- --no-cache --quiet "${commit_files[@]}"
|
||||
nix fmt -- --no-cache "${commit_files[@]}"
|
||||
|
||||
# Check if there is a diff
|
||||
git diff --name-only --exit-code
|
||||
|
|
Loading…
Reference in New Issue
Block a user