Skip to main content

A Commitizen plugin for conventional commit with emojis and integrations

Project description

emotional

CI Test Coverage Maintainability pre-commit.ci status

A Commitizen template for conventional commit with emojis and integrations.

Installation

pip install emotional

Then set emotional as the Commitizen template:

[tool.commitizen]
name = "emotional"

Configuration

As a starter, remember that all Commitizen configuration is available.

Changelog

By default, changes by types are kept in order of commit and ignore the scope for ordering. You can however force scope to be sorted first by setting order_by_scope:

[tool.commitizen]
name = "emotional"
order_by_scope = true

You can also group changes into subsections by scope by setting group_by_scope:

[tool.commitizen]
name = "emotional"
group_by_scope = true

Github integration

To enable github integration, just provide your github repository as github setting:

[tool.commitizen]
name = "emotional"
github = "author/repository"

For github enterprise, you can use the full repository URL:

[tool.commitizen]
name = "emotional"
github = "https://git.company.com/author/repository"

Gitlab integration

To enable gitlab integration, just provide your gitlab repository as gitlab setting:

[tool.commitizen]
name = "emotional"
gitlab = "author/repository"

Use the full URL for hosted gitlab instances:

[tool.commitizen]
name = "emotional"
gitlab = "https://git.company.com/author/repository"

Jira integration

To enable Jira integration, provide your JIRA instance URL as jira_url setting and the list of project prefix you want ho be processed in jira_prefixes:

[tool.commitizen]
name = "emotional"
jira_url = "https://emotional.atlassian.net"
jira_prefixes = [
  "EMO-",
  "PRJ-",
]

Multiple integrations

While it is totally possible to mix integrations, keep in mind than jira is compatible with both github and gitlab while github and gitlab are conflicting because they use the same format.

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

emotional-0.5.1.tar.gz (21.4 kB view hashes)

Uploaded Source

Built Distribution

emotional-0.5.1-py3-none-any.whl (14.3 kB view hashes)

Uploaded Python 3

Supported by

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