Skip to main content

Tool for Conventional Commits

Project description

Convbump

Python versions Latest Version BSD License Code style: black

convbump is a simple tool to work with conventional commits.

Use the version command to find the next version in your repository based on the conventional commits.

Use the changelog command to generate a nicely formatted changelog (Github markdown compatible).

Use convbump --verbose version to see more information.

Requirements

convbump does not have any external dependencies.

convbump uses a pure Python library to access the Git repository and so does not require a git executable.

Development

The application is written in Python and uses Poetry to configure the package and manage its dependencies.

Make sure you have Poetry CLI installed. Then you can run

$ poetry install

which will install the project dependencies (including dev dependencies) into a Python virtual environment managed by Poetry (alternatively, you can activate your own virtual environment beforehand and Poetry will use that).

Run tests with pytest

$ poetry run pytest

or

$ poetry shell
$ pytest

pytest will take configuration from pytest.ini file first (if present), then from pyproject.toml. Add any local configuration to pytest.ini. Configuration in pyproject.toml will be used in CI. You can run your tests the same way as CI to catch any errors

$ pytest -c pyproject.toml

Code formatting

The application is formatted using black and isort.
You can either run black and isort manually or use prepared Poe task to format the whole project.

$ poetry run poe format-code

or

$ poetry shell
$ poe format-code

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

convbump-2.0.0.tar.gz (10.4 kB view details)

Uploaded Source

Built Distribution

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

convbump-2.0.0-py3-none-any.whl (11.2 kB view details)

Uploaded Python 3

File details

Details for the file convbump-2.0.0.tar.gz.

File metadata

  • Download URL: convbump-2.0.0.tar.gz
  • Upload date:
  • Size: 10.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.5 CPython/3.12.12 Linux/6.11.0-1018-azure

File hashes

Hashes for convbump-2.0.0.tar.gz
Algorithm Hash digest
SHA256 e1f364d4eb86b6041d980243974abb2a869ef1863e836e58ef2f93cc2dcdc8b7
MD5 c6176ee6b28c44d59cb9b2ca9e04c750
BLAKE2b-256 100e7e46f3cc2d015c2f13b848403b364dc3b9ef61dba3f9c310a87d616a60fe

See more details on using hashes here.

File details

Details for the file convbump-2.0.0-py3-none-any.whl.

File metadata

  • Download URL: convbump-2.0.0-py3-none-any.whl
  • Upload date:
  • Size: 11.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.5 CPython/3.12.12 Linux/6.11.0-1018-azure

File hashes

Hashes for convbump-2.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1c21bf6ac9c239ca19433d008bdd6448ec104748ed295ff0698af6b66f3c6fd7
MD5 07f072476688ea11fa87a5dadea944d4
BLAKE2b-256 d31da709b1a57e35bc952004f05be0d613bec962bdb4acb53441c7a7db5bdf78

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