summaryrefslogtreecommitdiff
path: root/.pre-commit-config.yaml
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2022-01-25 18:20:50 +0100
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2022-01-25 18:20:50 +0100
commit82cddceece6077ea21337dea22f824ff9cf38c81 (patch)
tree1b8d4d1fd2d35906c49980030f24712a1aa92c8c /.pre-commit-config.yaml
parent3e516481875c5884cb85ab1baf514567edf483ff (diff)
feat: add conventional commit hook
Diffstat (limited to '.pre-commit-config.yaml')
-rw-r--r--.pre-commit-config.yaml6
1 files changed, 6 insertions, 0 deletions
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 8fed8e5..07d3687 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -17,3 +17,9 @@ repos:
entry: flake8
language: system
types: [python]
+- repo: https://github.com/compilerla/conventional-pre-commit
+ rev: v1.2.0
+ hooks:
+ - id: conventional-pre-commit
+ stages: [commit-msg]
+ args: []