From 745368242d9d94b8becff302b151dd46f63f262e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Thu, 24 Aug 2023 11:30:19 +0200 Subject: [PATCH] pre-commit: don't fail silent if mypy fails we don't know why --- scripts/pre-commit | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/pre-commit b/scripts/pre-commit index 61b1010e..5760641b 100755 --- a/scripts/pre-commit +++ b/scripts/pre-commit @@ -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