The GitCommitBear was removed via
I8d782822ca87add9108a044fd6e19b1c23686717 this replaces it with
GitLint which does similar linting for git commit messages.
Issue: RELENG-2642
Signed-off-by: Thanh Ha <zxiiro@gmail.com>
Change-Id: I6e47db45a6c5c519ee795adf15c4243fb0bfb6dd
hooks:
- id: prettier
+ - repo: https://github.com/jorisroovers/gitlint
+ rev: v0.12.0
+ hooks:
+ - id: gitlint
+
- repo: https://github.com/jumanjihouse/pre-commit-hooks
rev: 1.11.2
hooks:
basepython = python3
deps = pre-commit
commands =
- pre-commit install
pre-commit run --all-files
+ pre-commit run gitlint --hook-stage commit-msg --commit-msg-filename .git/COMMIT_EDITMSG
[testenv:reno]
basepython = python3