Skip to content

Commit

Permalink
When complaining about a formatting error, say what the error is
Browse files Browse the repository at this point in the history
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
  • Loading branch information
shish committed Mar 26, 2024
1 parent 10cd4a1 commit 8f72698
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8f72698

Please sign in to comment.