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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: convbump-0.2.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.2.0.tar.gz
Algorithm Hash digest
SHA256 64a1c38a806f3280636d817722b0b3df4a201311476dddea52d75302dde18b09
MD5 57ffed58e2afcf27960f4e3a6f240acb
BLAKE2b-256 1826eeb48aafe969326c6b67d01e21c6485850020a0c937613177ea04522466e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: convbump-0.2.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.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 05f9061bf5df33041cb488e0b1337561fcdc1aea883c7e5d950f851e159061f4
MD5 6c7e49bb1a93f98a29f32b743f04095e
BLAKE2b-256 c4f0725bb44d0283afed78f0d43060ae1cce881b6420e23904daf4cd841110b1

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