Replace coala commit-msg hook with pre-commit 45/15145/2 v0.3.0
authorThanh Ha <zxiiro@gmail.com>
Sun, 31 Mar 2019 01:14:18 +0000 (21:14 -0400)
committerThanh Ha <zxiiro@gmail.com>
Fri, 12 Apr 2019 05:51:41 +0000 (13:51 +0800)
commitee4abf7dd7aa7ffcac279f8a428f1af820a5fdfb
tree3eb88f8941f8a2f22369204faeaabaff54590289
parent1390dc14c8ddbe1b4f890b5c5c34cada9ab66ee9
Replace coala commit-msg hook with pre-commit

Idea here is to replace the slow coala checker with the
much faster pre-commit hooks in the future as we replace
the different linters we're using via coala with pre-commit
versions.

Using this requires the developer to setup pre-commit on their
local dev environment to initialize this the first time the
contribute to this repo.

Install can be performed via one of the following methods:

1) Install pre-commit from your local package manager then run:

    pre-commit install --hook-type commit-msg

2) Run `tox -e check-hooks`

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