Show diff on pre-commit failure 41/91941/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 15:12:18 +0000 (11:12 -0400)
commit828df1f1ba2c623c20d8fde2637620915c6d8960
tree0f1f1ae0c0b5538f99ff321d5866d2bf31a5972a
parent518b65f9198020f5b2b5d6317c7720ce22820b6e
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