Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

commitizen check failed using the "cz-conventional-gitmoji" #1141

Open
@atiasn

Description

Description

commitizen check failed using the "cz-conventional-gitmoji"

Steps to reproduce

  1. conda create virtualenv
  2. conda activate the virtualenv
  3. poetry add commitizen
  4. poetry add cz-conventional-gitmoji
  5. edit .pre-commit-config.yaml
 - repo: https://github.com/commitizen-tools/commitizen
 rev: v3.27.0
 hooks:
 - id: commitizen
 stages: [commit-msg]
  1. 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"
  1. 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

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

        AltStyle によって変換されたページ (->オリジナル) /