From 8f72698de5c86ec38d8c334c63d24a09db968ac3 Mon Sep 17 00:00:00 2001 From: Shish Date: Tue, 26 Mar 2024 10:57:55 +0000 Subject: [PATCH] When complaining about a formatting error, say what the error is I'm getting an error which _only_ appears on python 3.7 and I can't repro it locally, and CI won't tell me what the error is x_x --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index edc4a9e..d1d7aa8 100644 --- a/Makefile +++ b/Makefile @@ -120,7 +120,7 @@ flake8: venv .PHONY: black black: venv @printf "${TERM_BRIGHT}BLACK ${ALL_SRCS}\n${TERM_NONE}" - ${Q} ${CURDIR}/venv/bin/black --check $(ALL_SRCS) || { echo "Formatting errors found, try running 'make format'."; exit 1; } + ${Q} ${CURDIR}/venv/bin/black --check --diff $(ALL_SRCS) || { echo "Formatting errors found, try running 'make format'."; exit 1; } .PHONY: isort isort: venv