Open
Description
Description
commitizen check failed using the "cz-conventional-gitmoji"
Steps to reproduce
- conda create virtualenv
- conda activate the virtualenv
- poetry add commitizen
- poetry add cz-conventional-gitmoji
- edit .pre-commit-config.yaml
- repo: https://github.com/commitizen-tools/commitizen
rev: v3.27.0
hooks:
- id: commitizen
stages: [commit-msg]
- edit pyproject.toml
[tool.commitizen]
name = "cz_gitmoji"
tag_format = "$version"
version_scheme = "pep440"
version_provider = "poetry"
update_changelog_on_bump = true
major_version_zero = true
version_files = ["pyproject.toml:^version"]
bump_message = "🔖 bump(release): $current_version → $new_version"
- poetry show
# poetry show | grep commi
commitizen 3.27.0 Python commitizen client tool
cz-conventional-gitmoji 0.3.2 A commitizen plugin that combines gitmo...
Current behavior
commitizen check.........................................................Failed
- hook id: commitizen
- exit code: 1
The committer has not been found in the system.
Try running 'pip install cz_gitmoji'
# which cz
/home/clei/miniconda3/envs/paimon/bin/cz
Python 3.11.9 (main, Apr 19 2024, 16:48:06) [GCC 11.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import importlib
>>> importlib.import_module("cz_gitmoji")
<module 'cz_gitmoji' from '/home/clei/miniconda3/envs/paimon/lib/python3.11/site-packages/cz_gitmoji/__init__.py'>
Desired behavior
The "commitizen check" should be passed
Screenshots
No response
Environment
# cz version --report
Commitizen Version: 3.27.0
Python Version: 3.11.9 (main, Apr 19 2024, 16:48:06) [GCC 11.2.0]
Operating System: Linux