Skip to content

Commit 14c811f

Browse files
authored
chore: add pre commit step for commitlint (#563)
1 parent b36801a commit 14c811f

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.pre-commit-config.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,3 +39,9 @@ repos:
3939
- id: mypy
4040
exclude: cli.py
4141
additional_dependencies: [ "types-paho-mqtt" ]
42+
- repo: https://github.com/alessandrojcm/commitlint-pre-commit-hook
43+
rev: v9.23.0
44+
hooks:
45+
- id: commitlint
46+
stages: [commit-msg]
47+
additional_dependencies: ['@commitlint/config-conventional']

0 commit comments

Comments
 (0)