It would be better if bump-my-version was able to operate on a default pyproject.toml without a config file.
It already works if [bumpversion] with no options is added to pyproject.toml.
with [bumpversion]
(test-dir) D:\dev\tmp\test-dir [main +0 ~1 -0 !]> uvx bump-my-version show-bump
0.1.1 ── bump ─┬─ major ─ 1.0.0
├─ minor ─ 0.2.0
╰─ patch ─ 0.1.2
without [bumpversion]
(test-dir) D:\dev\tmp\test-dir [main +0 ~1 -0 !]> uvx bump-my-version show-bump
Usage: bump-my-version show-bump [OPTIONS] [VERSION]
Try 'bump-my-version show-bump -h' for help
╭─ Error ────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ Unable to determine the current version. │
╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
It would be better if bump-my-version was able to operate on a default pyproject.toml without a config file.
It already works if [bumpversion] with no options is added to pyproject.toml.
with [bumpversion]
(test-dir) D:\dev\tmp\test-dir [main +0 ~1 -0 !]> uvx bump-my-version show-bump
0.1.1 ── bump ─┬─ major ─ 1.0.0
├─ minor ─ 0.2.0
╰─ patch ─ 0.1.2
without [bumpversion]
(test-dir) D:\dev\tmp\test-dir [main +0 ~1 -0 !]> uvx bump-my-version show-bump
Usage: bump-my-version show-bump [OPTIONS] [VERSION]
Try 'bump-my-version show-bump -h' for help
╭─ Error ────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ Unable to determine the current version. │
╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯