pre-commit: when hooks fail, run 'git diff' directly afterwards

This commit is contained in:
Hugo 2020-06-22 12:10:45 +03:00
parent 1bc67c9f0f
commit c4c1b51f45

View File

@ -24,7 +24,7 @@ deps =
[testenv:lint] [testenv:lint]
commands = commands =
pre-commit run --all-files pre-commit run --all-files --show-diff-on-failure
check-manifest check-manifest
deps = deps =
pre-commit pre-commit