-
Notifications
You must be signed in to change notification settings - Fork 65
Closed
Labels
duplicateThis issue or pull request already existsThis issue or pull request already existsenhancementNew feature or requestNew feature or request
Description
Hi!
I read carefully through the previous discussion about the subject and decided to raise the matter again. Strictly following conventional commits is a good thing, but during the code review process you might be using "fixup!" commits to make the process simpler for the reviewer. It means that --no-verify
is not an option anymore. And when I'm adding "fixup" to the "args" list it still requires ":".
In light of this, it'd be nice to have an option like this or similar:
hooks:
- id: conventional-pre-commit
stages: [commit-msg]
args: []
allow-fixup-commits: true
It should be easy to use a simple regexp like this ^(fixup! +)
to check it or even a method like startswith
.
Metadata
Metadata
Assignees
Labels
duplicateThis issue or pull request already existsThis issue or pull request already existsenhancementNew feature or requestNew feature or request