convbump-0.6.0
توضیحات
Tool for Conventional Commits
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | convbump-0.6.0 |
| نام | convbump |
| نسخه کتابخانه | 0.6.0 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Max Kovykov |
| ایمیل نویسنده | maxim.kovykov@avast.com |
| آدرس صفحه اصلی | - |
| آدرس اینترنتی | https://pypi.org/project/convbump/ |
| مجوز | BSD-3-Clause |
Convbump
=====
[](https://pypi.org/project/convbump/)
[](https://pypi.org/project/convbump/)
[](https://github.com/playpauseandstop/convbump/blob/master/LICENSE)
[](https://github.com/psf/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](https://python-poetry.org/docs/) to configure the package and manage
its dependencies.
Make sure you have [Poetry CLI installed](https://python-poetry.org/docs/#installation).
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](https://black.readthedocs.io/en/stable/) and [isort](https://pycqa.github.io/isort/).
You can either run black and isort manually or use prepared [Poe](https://github.com/nat-n/poethepoet) task to format the whole project.
$ poetry run poe format-code
or
$ poetry shell
$ poe format-code
نیازمندی
| مقدار | نام |
|---|---|
| >=2.13.0,<3.0.0 | semver |
| >=8.0.3,<9.0.0 | click |
| >=0.20.32,<0.21.0 | dulwich |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.7,<4.0 | Python |
نحوه نصب
نصب پکیج whl convbump-0.6.0:
pip install convbump-0.6.0.whl
نصب پکیج tar.gz convbump-0.6.0:
pip install convbump-0.6.0.tar.gz