Skip to content

Commit

Permalink
Add --show-diff-on-failure
Browse files Browse the repository at this point in the history
  • Loading branch information
sloria committed Jul 11, 2018
1 parent 6e086f6 commit fd9ef4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def test(ctx, watch=False, last_failing=False):
@task
def syntax(ctx):
"""Run flake8 on codebase."""
ctx.run('pre-commit run --all-files', echo=True)
ctx.run('pre-commit run --all-files --show-diff-on-failure', echo=True)

@task
def watch(ctx):
Expand Down

0 comments on commit fd9ef4b

Please sign in to comment.