Skip to content

a hook to check !main branches increment pyproject.toml's version

License

Notifications You must be signed in to change notification settings

atloo1/check-pyproject-incremented

Repository files navigation

check-pyproject-incremented

GitHub Actions Workflow Status Dynamic TOML Badge Dynamic TOML Badge GitHub License GitHub code size in bytes

Checked with mypy Poetry pre-commit Renovate enabled Ruff

a hook to check !main branches increment pyproject.toml's version

include in your .pre-commit-config.yaml:

repos:
  - repo: https://github.com/atloo1/check-pyproject-incremented
    rev: <latest_commit_hash>
    hooks:
      - id: check-pyproject-incremented

(optional) Python interpreter use:

prerequisites

git clone https://github.com/atloo1/check-pyproject-incremented.git
cd check-pyproject-incremented/

run

poetry install --without dev
poetry run python -m check_pyproject_incremented.main

develop

prerequisites

1st time setup

pyenv install 3.9 --skip-existing   # or your choice
pyenv local 3.9   # or your choice
poetry install
poetry run pre-commit install

About

a hook to check !main branches increment pyproject.toml's version

Resources

License

Stars

Watchers

Forks

Languages