ljnsn / cz-conventional-gitmoji

A commitizen plugin that combines gitmoji and conventional commits.
14 stars 3 forks source link

The committer has not been found in the system #197

Open austinmw opened 3 weeks ago

austinmw commented 3 weeks ago

Hi, I get the following pre-commit error:

image

pre-commit config:

  - repo: https://github.com/commitizen-tools/commitizen
    rev: v3.29.0
    hooks:
      - id: commitizen
      - id: commitizen-branch
        stages: [push]

  - repo: https://github.com/ljnsn/cz-conventional-gitmoji
    rev: v0.3.3
    hooks:
      - id: conventional-gitmoji

pyproject.toml:

[tool.commitizen]
name = "cz_gitmoji"

run command: poetry run cz c

ljnsn commented 3 weeks ago

Change your commitizen hook to look like this:

  - repo: https://github.com/commitizen-tools/commitizen
    rev: v3.29.0
    hooks:
      - id: commitizen
        additional_dependencies: [cz-conventional-gitmoji]
      - id: commitizen-branch
        stages: [push]

Thanks for the report, should mention that in the readme.

austinmw commented 3 weeks ago

Thanks!