From 925c8eadd505067e146587708bac6e733421f564 Mon Sep 17 00:00:00 2001 From: Henry Schreiner Date: Fri, 29 Oct 2021 11:49:20 -0400 Subject: [PATCH] Better output on linter failure --- noxfile.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/noxfile.py b/noxfile.py index 956201a66..5060ae5de 100644 --- a/noxfile.py +++ b/noxfile.py @@ -57,7 +57,7 @@ def coverage(*args): def lint(session): # Run the linters (via pre-commit) session.install("pre-commit") - session.run("pre-commit", "run", "--all-files") + session.run("pre-commit", "run", "--all-files", "--show-diff-on-failure") # Check the distribution session.install("build", "twine")