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 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

The version increment of cz bump still counts every commit since the last tag.

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. 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

Download files

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

Source Distribution

wyld_cz-0.3.0.tar.gz (4.7 kB view details)

Uploaded Source

Built Distribution

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

wyld_cz-0.3.0-py3-none-any.whl (6.1 kB view details)

Uploaded Python 3

File details

Details for the file wyld_cz-0.3.0.tar.gz.

File metadata

  • Download URL: wyld_cz-0.3.0.tar.gz
  • Upload date:
  • Size: 4.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for wyld_cz-0.3.0.tar.gz
Algorithm Hash digest
SHA256 f02dffe15236b7e9eb7b6f08e3fd81ca327359d1fd459c8f0c3ddb6037048f0a
MD5 0b58085eeaa647a08b164af5aa5e821d
BLAKE2b-256 c7890c6a9882509fb8839af948747bfe238c394eb041568e899274e82cf050a9

See more details on using hashes here.

Provenance

The following attestation bundles were made for wyld_cz-0.3.0.tar.gz:

Publisher: publish.yml on oberon-systems/wyld-cz

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file wyld_cz-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: wyld_cz-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 6.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for wyld_cz-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b687dfc8f763fea8cd896645965a76e9fabed8ce25b773e640b9094ec90dd179
MD5 2618090ff53bbe718b49a9971b0d6179
BLAKE2b-256 82b0ca4d678e871769289e5b18b09f174e61652b3457476b2a468d6a5b43894b

See more details on using hashes here.

Provenance

The following attestation bundles were made for wyld_cz-0.3.0-py3-none-any.whl:

Publisher: publish.yml on oberon-systems/wyld-cz

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

This release

0.3.0 This release

2 files

0.2.2

2 files

0.2.1

2 files

0.2.0

2 files

0.1.0

2 files

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