Run gitlint to lint commit messages in the lftools repo.
Signed-off-by: Thanh Ha <zxiiro@gmail.com>
Change-Id: I3daf64a3a234e191d035c583d6e752fa060accae
rev: v1.2.3
hooks:
- id: trailing-whitespace
+
- repo: https://github.com/ambv/black
rev: 19.10b0
hooks:
- id: black
+
+ - repo: https://github.com/jorisroovers/gitlint
+ rev: v0.13.1
+ hooks:
+ - id: gitlint
deps = pre-commit
commands =
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]
description = OpenStack Reno checks