commitizen
commitizen copied to clipboard
pre-commit hook does not check/support custom types (defined in `config.commitizen.types`)
Description
As there is the possibility to override types in config.commitizen.types, the pre-commit hook should take these into account as well.
Steps to reproduce
- Add custom types in
config.commitizen.types - Write & commit a commit message with the aforementioned custom types
Current behavior
pre-commit hook should exit with Passed
Desired behavior
pre-commit hook exits with Failed
Hi @stavros-mobal , I'm a bit confused. We do not have module config.commitizen.types. Could you please clarify a bit more?