forked from drodarie/test_actions
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
58 lines (51 loc) · 1.32 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
46
47
48
49
50
51
52
53
54
55
56
57
58
[build-system]
requires = ["flit_core >=3.2,<4"]
build-backend = "flit_core.buildapi"
[project]
name = "test-actions"
authors = [{ name = "Dimitri RODARIE", email = "[email protected]" }]
readme = "README.md"
license = { file = "LICENSE" }
classifiers = ["License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)"]
requires-python = ">=3.9"
dynamic = ["version", "description"]
dependencies = [
"numpy~=1.19",
"scipy~=1.5",
"pynrrd~=1.0",
"toml~=0.10.0",
]
[project.optional-dependencies]
test = [
"coverage~=7.3",
]
dev = [
"pre-commit~=3.5",
"black~=24.0",
"isort~=5.12"
]
[tool.black]
line-length = 100
[tool.isort]
profile = "black"
[tool.bumpversion]
current_version = "1.2.6"
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 = "--no-verify"
[tool.bumpversion.parts.pre_l]
values = ["dev", "a", "b", "rc", "final"]
optional_value = "final"
[[tool.bumpversion.files]]
filename = "test_actions/__init__.py"