Skip to content

Commit

Permalink
Add a commit stage to pre-commit hook config
Browse files Browse the repository at this point in the history
Relates to jorisroovers#191
  • Loading branch information
guillaumelambert committed Jun 3, 2021
1 parent bf0df47 commit d504086
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .pre-commit-hooks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,10 @@
entry: gitlint
args: [--staged, --msg-filename]
stages: [commit-msg]
- id: gitlint0
name: gitlint
language: python
entry: gitlint
args: [lint]
pass_filenames: false
stages: [commit]

0 comments on commit d504086

Please sign in to comment.