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

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

Uploaded Source

Built Distribution

convbump-0.3.0-py3-none-any.whl (8.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: convbump-0.3.0.tar.gz
  • Upload date:
  • Size: 7.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.12 CPython/3.10.0 Linux/5.11.0-1025-azure

File hashes

Hashes for convbump-0.3.0.tar.gz
Algorithm Hash digest
SHA256 1233474e42b1941a33861705ef4d7183ce746e9000383cdaf8018d542cd0d8e6
MD5 83a9aa7aa48c3bc7333f5cbf42f4f3fb
BLAKE2b-256 cfbbd840055551cc447485ac3af146b0e2b3f490cb0624e8591bcd598f3c0b31

See more details on using hashes here.

File details

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

File metadata

  • Download URL: convbump-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 8.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.12 CPython/3.10.0 Linux/5.11.0-1025-azure

File hashes

Hashes for convbump-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 28185da3b99e1373a25ff84200e089766a9be58e290772ef5958ca42eb6b43ac
MD5 8189f53dc5d89ba04724b49948408472
BLAKE2b-256 78e0e35fc47c6f66cabddaaf0530d9c1d5cd7cde74e9c839cfaa77b4b73f030f

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