Skip to content

Commit

Permalink
chore: add --show-diff-on-failure
Browse files Browse the repository at this point in the history
  • Loading branch information
henryiii committed Dec 26, 2021
1 parent a297580 commit 38487da
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion noxfile.py
Expand Up @@ -93,7 +93,9 @@ def cover(session):
@nox.session(python="3.9")
def lint(session):
session.install("pre-commit")
session.run("pre-commit", "run", "--all-files", *session.posargs)
session.run(
"pre-commit", "run", "--all-files", "--show-diff-on-failure", *session.posargs
)


@nox.session
Expand Down

0 comments on commit 38487da

Please sign in to comment.