Skip to content

Commit

Permalink
feat(commitizen): add support
Browse files Browse the repository at this point in the history
  • Loading branch information
acostapazo committed May 25, 2023
1 parent d7c82e7 commit e7fd8c8
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
8 changes: 8 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
repos:
- repo: local
hooks:
- id: commitizen
name: My commitizen check
entry: cz
args: ['check', '--commit-msg-file', '.git/COMMIT_EDITMSG']
pass_filenames: false
language: system
stages: [commit-msg]

- id: black
name: black
entry: black .
Expand Down
3 changes: 2 additions & 1 deletion requirements/dev-requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,5 @@ pytest-clarity==1.0.1
pytest-ordering==0.6
hypothesis==6.56.3
setuptools>65.5.1
pyupgrade==3.4.0
pyupgrade==3.4.0
commitizen==3.2.2

0 comments on commit e7fd8c8

Please sign in to comment.