-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
79 lines (72 loc) · 1.9 KB
/
pyproject.toml
File metadata and controls
79 lines (72 loc) · 1.9 KB
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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
[project]
name = "kabs"
version = "0.1.1"
description = "A tool for finding the absolute permeability from a volumetric image using the lattice Boltzmann method"
readme = "README.md"
requires-python = ">=3.12"
dependencies = [
"imageio>=2.37.2",
"ipykernel>=7.2.0",
"ipywidgets>=8.1.8",
"meshio>=5.3.5",
"nest-asyncio2>=1.7.2",
"numpy>=2",
"pyevtk>=1.6.0",
"pyvista>=0.47.1",
"taichi>=1.7.4",
"trame>=3.12.0",
"trame-vtk>=2.11.3",
"trame-vuetify>=3.2.1",
]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[dependency-groups]
dev = [
"pytest>=8.0",
"pytest-cov>=7.1.0",
"ruff>=0.15.6",
]
[tool.bumpversion]
current_version = "0.1.1"
parse = """(?x)
(?P<major>0|[1-9]\\d*)\\.
(?P<minor>0|[1-9]\\d*)\\.
(?P<patch>0|[1-9]\\d*)
(?:
- # dash separator for pre-release section
(?P<pre_l>[a-zA-Z-]+) # pre-release label
(?P<pre_n>0|[1-9]\\d*) # pre-release version number
)? # pre-release section is optional
"""
serialize = [
"{major}.{minor}.{patch}-{pre_l}{pre_n}",
"{major}.{minor}.{patch}",
]
search = "{current_version}"
replace = "{new_version}"
regex = false
ignore_missing_version = false
tag = true
sign_tags = false
tag_name = "v{new_major}.{new_minor}.{new_patch}"
tag_message = "Bump version: {current_version} → {new_version}"
allow_dirty = false
commit = true
message = "maint: bump version: {current_version} → {new_version} [skip bump] [skip ci]"
commit_args = ""
[tool.bumpversion.parts.pre_l]
values = ["dev"]
optional_value = "dev"
[tool.coverage.run]
source = ["kabs"]
[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"@ti\\.kernel",
"@ti\\.func",
]
[[tool.bumpversion.files]]
filename = "pyproject.toml"
search = 'version = "{current_version}"'
replace = 'version = "{new_version}"'