Pour tout problème contactez-nous par mail : support@froggit.fr | La FAQ :grey_question: | Rejoignez-nous sur le Chat :speech_balloon:

Skip to content
Snippets Groups Projects
Commit b8e29615 authored by Dorian Turba's avatar Dorian Turba
Browse files

add bump_version

parent eac2633d
No related branches found
No related tags found
No related merge requests found
Pipeline #25874 failed
......@@ -29,17 +29,20 @@ dependencies = [
]
[project.optional-dependencies]
ALL = ["fake_session_maker[QUALITY]", "fake_session_maker[TEST]"]
REQUIREMENTS = ["pip-tools"]
ALL = ["fake_session_maker[MANAGE]", "fake_session_maker[QUALITY]", "fake_session_maker[TEST]"]
MANAGE = [
"bump-my-version",
]
QUALITY = [
"black",
"flake8",
"isort",
"mypy",
"ruff",
"pre-commit",
"ruff",
"toml-sort",
]
REQUIREMENTS = ["pip-tools"]
TEST = [
"asyncpg < 1.0",
"coverage",
......@@ -54,6 +57,28 @@ TEST = [
[tool.black]
line-length = 88
[tool.bumpversion]
allow_dirty = false
commit = true
commit_args = "--no-verify"
current_version = "0.1.0"
message = "Bump version: {current_version} → {new_version}"
parse = "(?P<major>\\d+)\\.(?P<minor>\\d+)\\.(?P<patch>\\d+)"
replace = "{new_version}"
search = "{current_version}"
serialize = [
"{major}.{minor}.{patch}",
]
sign_tags = false
tag = true
tag_message = "Bump version: {current_version} → {new_version}"
tag_name = "{new_version}"
[[tool.bumpversion.files]]
filename = "pyproject.toml"
replace = "version = \"{new_version}\""
search = "version = \"{current_version}\""
[tool.mypy]
disallow_untyped_defs = true
packages = "fake_session_maker"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment