Add pre-commit hook for trailing-whitespace 77/11477/1
authorThanh Ha <thanh.ha@linuxfoundation.org>
Thu, 21 Jun 2018 00:25:44 +0000 (20:25 -0400)
committerThanh Ha <thanh.ha@linuxfoundation.org>
Thu, 21 Jun 2018 00:32:36 +0000 (20:32 -0400)
commitf325f0dc4d34cb79e9c15813140db1e18ed2a185
tree160ef29145bc94a744649a265f6d0e3f0e58bdbe
parent5589ae7abbd5d4a8f9f58c0aeaef06984048b975
Add pre-commit hook for trailing-whitespace

Install using tox:

    tox -e check-hooks

ref: https://pre-commit.com

Change-Id: Ie060a9d1c843ce3889df10535d0a87e41d4b4e76
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
.pre-commit-config.yaml [new file with mode: 0644]
tox.ini