Verify version in pyproject.toml is not already used
Project description
pyproject-tag-check
I always forget to bump poetry version in pyproject.toml files. That's why I build this simple package. It is pre-commit hook which check that version in pyproject.toml is not used as a tag for given repo URL.
Usage:
Put it in .pre-commit.config.yaml
repos and argument must be URL to repo on GH (for example this repo itself https://github.com/rafsaf/pyproject-tag-check).
repos:
- repo: https://github.com/rafsaf/pyproject-tag-check
rev: "0.2.0"
hooks:
- id: pyproject-tag-check
args:
- https://github.com/rafsaf/pyproject-tag-check
If tag 0.2.0 already exists like it does for https://github.com/rafsaf/pyproject-tag-check, the check will not pass.
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
Built Distribution
Close
Hashes for pyproject_tag_check-0.2.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 13b7c40383af8424b905f16eba0b25d9b40d8c8504995a3ceaa7d68ab3e899ba |
|
MD5 | 32152d5da87e5785cc5c640ea99be36f |
|
BLAKE2b-256 | 736d0cc4d1f5a9f04b64a9fec7cdd5a55414ad8668ce01ae2dd5268dd545796d |
Close
Hashes for pyproject_tag_check-0.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d4df55d364e6e8d7296a71dd3679b88e22c4b368ce6d3b7bb505136654841088 |
|
MD5 | 90f5ef97cc8fd981563971f79067ca56 |
|
BLAKE2b-256 | f442d3189c86314858441529ebea3987e5a2014681503541011aa7adb7993800 |