The tox environment for pre-commit currently does not actually run
the gitlint hook.
Change-Id: Ia22d2d1fed8aed3689690e3f51e06905f409f82e
Signed-off-by: Thanh Ha <zxiiro@gmail.com>
basepython = python3
deps = pre-commit
commands =
- pre-commit install
+ pre-commit install --hook-type commit-msg
pre-commit run --all-files
+ pre-commit run gitlint --hook-stage commit-msg --commit-msg-filename .git/COMMIT_EDITMSG