From e156634865b552fdc999aa72273852223797c29e Mon Sep 17 00:00:00 2001 From: Jakob Keller <57402305+jakob-keller@users.noreply.github.com> Date: Fri, 23 Aug 2024 12:38:45 +0200 Subject: [PATCH] show diff on pre-commit failure --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index f4c0c2a3..581ed039 100644 --- a/Makefile +++ b/Makefile @@ -4,7 +4,7 @@ FLAGS?= pre-commit: - pre-commit run --all + pre-commit run --all --show-diff-on-failure test: pre-commit python -Wd -m pytest -s -vv $(FLAGS) ./tests/