Skip to content

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

Open
@stavros-mobal

Description

@stavros-mobal

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions