From b473c32f73422b024266e85072a8b1b1c12f70e8 Mon Sep 17 00:00:00 2001 From: Thanh Ha Date: Sat, 6 Jun 2020 10:08:36 -0400 Subject: [PATCH] Make GitLint actually run as part of pre-commit The tox environment for pre-commit currently does not actually run the gitlint hook. Change-Id: Idbb1f8878dfbc387468dcf9dc874f21a25ffa856 Signed-off-by: Thanh Ha --- tox.ini | 1 + 1 file changed, 1 insertion(+) diff --git a/tox.ini b/tox.ini index 8147f78..6c855dc 100644 --- a/tox.ini +++ b/tox.ini @@ -47,6 +47,7 @@ deps = pre-commit commands = pre-commit install --hook-type commit-msg pre-commit run --all-files --show-diff-on-failure + pre-commit run gitlint --hook-stage commit-msg --commit-msg-filename .git/COMMIT_EDITMSG [testenv:reno] basepython = python3 -- 2.16.6