test(githooks): Add gitlint to check commit messages on commit

This commit is contained in:
Alexander Engelsberger 2021-06-16 14:16:42 +02:00 committed by Alexander Engelsberger
parent 11cfa79746
commit fc4b143fbb

View File

@ -45,3 +45,9 @@ repos:
rev: v2.19.4
hooks:
- id: pyupgrade
- repo: https://github.com/jorisroovers/gitlint
rev: "v0.15.1"
hooks:
- id: gitlint
args: [--contrib=CT1, --ignore=B6, --msg-filename]