Skip to content

Commit

Permalink
style: add conventional commits checker
Browse files Browse the repository at this point in the history
  • Loading branch information
hrz6976 committed Jun 11, 2024
1 parent 9559aed commit 724a715
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,14 @@ repos:
types: [python]
pass_filenames: false

# enforce conventional commit messages
- repo: https://github.com/compilerla/conventional-pre-commit
rev: v3.2.0
hooks:
- id: conventional-pre-commit
stages: [commit-msg]
args: []

# # skip poetry check for now, it's large and slow
# # poetry: check lock and generate requirements.txt
# - repo: https://github.com/python-poetry/poetry
Expand Down

0 comments on commit 724a715

Please sign in to comment.