Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pre-commit hook does not check/support custom types (defined in config.commitizen.types) #481

Open
stavros-mobal opened this issue Feb 2, 2022 · 1 comment

Comments

@stavros-mobal
Copy link

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

  1. Add custom types in config.commitizen.types
  2. 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

@Lee-W
Copy link
Member

Lee-W commented Aug 21, 2022

Hi @stavros-mobal , I'm a bit confused. We do not have module config.commitizen.types. Could you please clarify a bit more?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants