Skip to main content

Full compliance of Commitizen with Keep a Changelog

Project description

Python Support Pypi Latest Version Python Types Documentation License

CI pre-commit Coverage Pypi Trusted Publisher: enabled Ruff Checks: flake-8, isort, mypy

Commitizen Conventional Commits Keep a Changelog GitHub last commit

Commitizen - Keep a Changelog-Plugin

Adds full compliance of Commitizen with Keep a Changelog v1.1.0.

Features

  • Complete map of Conventional Commits-types to Keep a Changelog-types of changes:
    • feat: Added
    • fix: Fixed
    • perf: Changed
    • refactor: Changed
    • revert: Removed
  • Enables to replace issue numbers in the changelog by a markdown link to the issue:
    #123 -> [#123](https://github.com/user/repo/issues/123)
  • Keep a Changelog-like header for changelog file.

Installation

Using pip:

# Install
pip install cz_keep_a_changelog_plugin

# Keep it updated
pip upgrade cz_keep_a_changelog_plugin

Using uv:

# Install
uv install cz_keep_a_changelog_plugin

# Keep it updated
uv upgrade cz_keep_a_changelog_plugin

Usage

Configuration

In the project's pyproject.toml set:

...

[tool.commitizen]
name = "cz_keep_a_changelog_plugin"

Pre-Commit

To use in pre-commit, add this to your pre-commit-config.yml. Run pre-commit autoupdate to get the latest version:

repos:
  - repo: https://github.com/commitizen-tools/commitizen
    rev: main
    hooks:
      - id: commitizen
        additional_dependencies: [cz_keep_a_changelog_plugin]
        stages: [commit-msg]
      - id: commitizen-branch
        additional_dependencies: [cz_keep_a_changelog_plugin]
        stages: [pre-push]

Additional Settings

In the project's pyproject.tomlset the issue_url_template where {{issue}} will be replaced by the issue number:

...

[tool.commitizen]
name = "cz_keep_a_changelog_plugin"
...

[tool.commitizen.cz_keep_a_changelog_plugin]
issue_url_template = "https://cola5.github.io/cz-keep-a-changelog-plugin/issues/{{issue}}"

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cz_keep_a_changelog_plugin-0.0.5.tar.gz (8.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

cz_keep_a_changelog_plugin-0.0.5-py3-none-any.whl (10.3 kB view details)

Uploaded Python 3

File details

Details for the file cz_keep_a_changelog_plugin-0.0.5.tar.gz.

File metadata

  • Download URL: cz_keep_a_changelog_plugin-0.0.5.tar.gz
  • Upload date:
  • Size: 8.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.17 {"installer":{"name":"uv","version":"0.11.17","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for cz_keep_a_changelog_plugin-0.0.5.tar.gz
Algorithm Hash digest
SHA256 d6e636b81ed7683a0ad2eab70ae87ad4c73354c00e28e8699905677941e50757
MD5 f01321351babdfeb6169782b9f1e40c1
BLAKE2b-256 eb35248933fda7a407a37982f0666b84cf6c2176ef2e7d04a51b5973f1ec8375

See more details on using hashes here.

File details

Details for the file cz_keep_a_changelog_plugin-0.0.5-py3-none-any.whl.

File metadata

  • Download URL: cz_keep_a_changelog_plugin-0.0.5-py3-none-any.whl
  • Upload date:
  • Size: 10.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.17 {"installer":{"name":"uv","version":"0.11.17","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for cz_keep_a_changelog_plugin-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 d35ad88d52ebae03183bcb1603d82d940f80447fed7bc7a4e7fe48fad02544db
MD5 fb9f709305340e678b4fda1b52fbebe0
BLAKE2b-256 47efd024b922e691885e5cb6c28fcda2e9a3c48e1bc3e510b32a3070c3d7703d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page