Skip to main content

Wyld Commitezen Repository

A sets of custom rules and templates for commitezen.

You can find more info about commitezen customization with official documentation

Compatibility

  • Python >=3.10 (tested on 3.10 - 3.14)
  • commitizen >=4.9,<5

The plugin uses the modern commitizen plugin API (commitizen.question.CzQuestion, mandatory schema_pattern), so commitizen 3.x is not supported anymore.

Usage

Install the plugin next to commitizen and select it in .cz.yaml:

commitizen:
  name: wyld_cz

For the pre-commit hook the plugin has to be available inside the hook environment as well:

- hooks:
  - additional_dependencies:
    - wyld-cz
    id: commitizen
  repo: https://github.com/commitizen-tools/commitizen
  rev: v4.17.0

Changelog and version of one directory

A repository that releases several things from separate .cz.yaml files can limit each changelog with changelog_paths. The paths are relative to the repository root, and a commit that changes nothing under any of them is left out of the changelog. Without the key every commit is kept.

commitizen:
  name: wyld_cz
  changelog_file: CHANGELOG.md
  changelog_paths:
  - alpha
  update_changelog_on_bump: true

cz bump and cz version --next detect the version increment from the same commits, so a feat outside these paths does not raise the minor version.

Commit style

[fix][sso/users]: update jwt signature check

    Body paragraphs are indented by four spaces and wrapped to 80 columns as
    `git log` renders them: git prepends an indent of its own, so the stored
    lines stay within 76. Blank lines are kept as paragraph breaks.

    https://example.com/issue/342

The known types are fix, feat, build, docs and refactor. feat bumps the minor version, fix and refactor the patch one, the rest do not bump at all.

Breaking changes

cz commit asks whether the change breaks anything. A breaking commit gets the [!] mark in front of the subject and a mandatory BREAKING CHANGE: block:

[!][fix][sso/users]: update jwt signature check

    Reject weak signatures.

    BREAKING CHANGE:
    Tokens signed with HS256 are rejected now,
    reissue them with RS256.

    https://example.com/issue/342

A breaking commit of any type bumps the major version, or the minor one while major_version_zero is set, and the changelog lists its description under Breaking Changes. cz check rejects a [!] commit without the description.

The body and the breaking change description are multiline: Enter starts a new line, Esc and then Enter (or Alt+Enter) submits the answer. Line breaks are kept, long lines are wrapped.

Validation

Validate a message before committing:

cz check --commit-msg-file <file>
cz check --rev-range <range>

Development

make          # print the current version and the available targets
make install  # editable install with the dev dependencies into .venv
make test     # run the test suite
make lint     # run the pre-commit hooks over every file

Release

make bump              # increment is detected from the commit types
git push origin main
git push origin <tag>  # tags are lightweight, --follow-tags skips them

Pushing the tag starts the publish workflow in GitHub Actions. It runs the tests on Python 3.10, 3.12 and 3.14, checks the tag against the version in pyproject.toml, builds with uv and uploads to PyPI through trusted publishing. The PyPI project needs a trusted publisher for this repository with the workflow publish.yml and the environment pypi.

The manual upload stays as a fallback. make publish refuses to run without PYPI_TOKEN, rebuilds dist/ and uploads that version only; uv is not part of the dev environment and has to be installed separately.

PYPI_TOKEN=pypi-... make publish

Contributing

This repo, so as others, using a spellbook developer console https://github.com/oberon-systems/spellbook

Metadata

Release files for wyld-cz 0.4.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for wyld-cz 0.4.1
File Size Uploaded Provenance Actions
wyld_cz-0.4.1.tar.gz 6.2 kB With provenance Details for wyld_cz-0.4.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for wyld-cz 0.4.1
File Interpreter ABI Platform Actions
wyld_cz-0.4.1-py3-none-any.whl Python 3 none any Details for wyld_cz-0.4.1-py3-none-any.whl

Total release size: 13.7 kB

Release files / wyld_cz-0.4.1.tar.gz

Download URL wyld_cz-0.4.1.tar.gz
Size 6.2 kB
Tags Source
SHA-256 checksum
How to use checksums
602a6cba7af45dd7e84ce4a9d1ac4b1667834fa30f081520f322b39091ba182e
BLAKE2b-256 checksum
How to use checksums
49814a2707b6aaf94c27b863ec28e20061c95c5cd638c8e34b40162569e9e000
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 7, 2026.

Transparency log

Release files / wyld_cz-0.4.1-py3-none-any.whl

Download URL wyld_cz-0.4.1-py3-none-any.whl
Size 7.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d347e0045ecdb6ad5989e32782a4fd4ccd643cceb05c29994282620592df8716
BLAKE2b-256 checksum
How to use checksums
cfbe730538da9c1f56d533635d110fabeeba127eb04af7ce294294c63b64bbde
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 7, 2026.

Transparency log

Security for wyld-cz 0.4.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for wyld_cz-0.4.1.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 7, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page