Show diff on pre-commit failure 39/91939/1
authorThanh Ha <zxiiro@gmail.com>
Thu, 6 Aug 2020 14:35:32 +0000 (10:35 -0400)
committerThanh Ha <zxiiro@gmail.com>
Thu, 6 Aug 2020 14:35:32 +0000 (10:35 -0400)
commit0e486e2f46b60d5b33cc44c369b606d469e81358
treefd29a8b2532f322a7142849ed72e24ef94820b67
parentefa126390afc4ec184475252cd1659edea45a6e3
Show diff on pre-commit failure

Make pre-commit print the diff of files on failure so that it's easier
to see what needs to be changed. Also update all the hook versions
since we haven't done so in awhile.

Signed-off-by: Thanh Ha <zxiiro@gmail.com>
Change-Id: I3fcb85d791b0e1f1ec9340b15a4ad1c2bd3ade61
.pre-commit-config.yaml
tox.ini