Skip to content

Commit

Permalink
Replace bumpversion with bump-my-version
Browse files Browse the repository at this point in the history
  • Loading branch information
p3zo committed Jun 17, 2024
1 parent c68a89f commit a7d59af
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 6 deletions.
19 changes: 18 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,26 @@ exclude = ["scripts", "docs", "site", "assets", "tests", "dist"]
version = {attr = "chord_progressions.__version__"}

[project.optional-dependencies]
dev = ["pytest", "pytest-cov", "black", "flake8", "ipdb", "ipython", "isort", "bumpversion", "mkdocs-material"]
dev = ["pytest", "pytest-cov", "black", "flake8", "ipdb", "ipython", "isort", "bump-my-version", "mkdocs-material"]
test = ["pytest", "pytest-cov"]

[project.urls]
Homepage = "https://github.com/p3zo/chord-progressions"
Issues = "https://github.com/p3zo/chord-progressions/issues"

[tool.bumpversion]
current_version = "0.33.0"
parse = "(?P<major>\\d+)\\.(?P<minor>\\d+)\\.(?P<patch>\\d+)"
serialize = ["{major}.{minor}.{patch}"]
search = "{current_version}"
replace = "{new_version}"
regex = false
ignore_missing_version = false
tag = true
sign_tags = false
tag_name = "v{new_version}"
tag_message = "Bump version: {current_version} → {new_version}"
allow_dirty = false
commit = true
message = "Bump version: {current_version} → {new_version}"
commit_args = ""
5 changes: 0 additions & 5 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
[bumpversion]
current_version = 0.33.0

[bumpversion:file:chord_progressions/__init__.py]

[flake8]
max-line-length = 100
max-complexity = 18
Expand Down

0 comments on commit a7d59af

Please sign in to comment.