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

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-0.5.0.tar.gz (8.6 kB view details)

Uploaded Source

Built Distribution

convbump-0.5.0-py3-none-any.whl (8.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: convbump-0.5.0.tar.gz
  • Upload date:
  • Size: 8.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.13 CPython/3.10.0 Linux/5.13.0-1023-azure

File hashes

Hashes for convbump-0.5.0.tar.gz
Algorithm Hash digest
SHA256 56bf63c10db41c36723c50163294878a367c14b025035594bd3011dd907603fc
MD5 f9fc2aea90871f6de8fb418e3547dc68
BLAKE2b-256 e23dbc846a768dbaab40cd0a665ab0871817bbf6dc4f4e4e20bc02a07561c683

See more details on using hashes here.

File details

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

File metadata

  • Download URL: convbump-0.5.0-py3-none-any.whl
  • Upload date:
  • Size: 8.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.13 CPython/3.10.0 Linux/5.13.0-1023-azure

File hashes

Hashes for convbump-0.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4ac11a905133b3bca518cedeb06a600dd0c9084b3ef9d76d7131c85f74b574fd
MD5 5a4cb1b9cb3e7caf7a0df964f9bee97c
BLAKE2b-256 b04d05532a7ba0101b5376a56bd9400aee9ddb34f7cfc48099fc78a959563984

See more details on using hashes here.

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