Chore: Update pre-commit dependencies 21/70521/1
authorAnil Belur <abelur@linuxfoundation.org>
Mon, 22 Aug 2022 08:09:07 +0000 (18:09 +1000)
committerAnil Belur <abelur@linuxfoundation.org>
Mon, 22 Aug 2022 08:37:20 +0000 (18:37 +1000)
Change-Id: Ia88d5168c54d19720ca3390e51753a567aaba8fe
Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
.pre-commit-config.yaml
tox.ini

index c1879a6..b10b09b 100644 (file)
@@ -1,11 +1,11 @@
 ---
 repos:
   - repo: https://github.com/pre-commit/pre-commit-hooks
-    rev: v1.3.0
+    rev: v4.1.0
     hooks:
       - id: trailing-whitespace
 
   - repo: https://github.com/jorisroovers/gitlint
-    rev: v0.11.0
+    rev: v0.17.0
     hooks:
       - id: gitlint
diff --git a/tox.ini b/tox.ini
index 0226738..d012e6c 100644 (file)
--- a/tox.ini
+++ b/tox.ini
@@ -24,5 +24,5 @@ commands =
 basepython = python3
 deps = pre-commit
 commands =
-    pre-commit install --hook-type commit-msg
-    pre-commit run --all-files
+    pre-commit run --all-files --show-diff-on-failure
+    pre-commit run gitlint --hook-stage commit-msg --commit-msg-filename .git/COMMIT_EDITMSG