-
Notifications
You must be signed in to change notification settings - Fork 31
/
pyproject.toml
45 lines (39 loc) · 1.27 KB
/
pyproject.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
[tool.typos.default.extend-words]
nd = "nd" # N-dimensional (ND)
ome = "ome" # Open Microscopy Environment (OME)
datas = "datas" # pyinstaller
[tool.ruff]
line-length = 120
[tool.ruff.lint]
extend-select = ["I"]
[tool.ruff.format]
quote-style = "preserve"
[tool.bumpversion]
current_version = "2.0.0a8"
parse = """(?x)
(?P<major>[0-9]+) # Major version
\\.(?P<minor>[0-9]+) # Minor version
\\.(?P<patch>[0-9]+) # Patch version
(?:
(?P<pre_label>a|b|rc) # Pre-release label (alpha, beta, release candidate)
(?P<pre_n>[0-9]+) # Pre-release number (0, 1, 2, etc.)
)?
"""
serialize = [
"{major}.{minor}.{patch}{pre_label}{pre_n}", # Pre-release format: 2.0.0a0
"{major}.{minor}.{patch}", # Stable version format: 2.0.0
]
search = "{current_version}"
replace = "{new_version}"
tag = true
tag_name = "{new_version}"
tag_message = "Bump version: {current_version} → {new_version}"
commit = true
allow_dirty = false
commit_args = "--no-verify"
message = "ci(bump-my-version): {current_version} → {new_version}"
[tool.bumpversion.parts.pre_label]
optional_value = "stable"
values = ["a", "b", "rc", "stable"]
[[tool.bumpversion.files]]
filename = "plantseg/__version__.py"