-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
104 lines (91 loc) · 1.92 KB
/
Copy pathpyproject.toml
File metadata and controls
104 lines (91 loc) · 1.92 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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
[project]
name = "acthermal_tumor"
version = "0.4.0"
description = "A non-isothermal Allen-Cahn tumor growth simulator using JAX and exponax"
authors = [
{ name = "Abhinav Mishra", email = "mishraabhinav36@gmail.com" }
]
readme = {file = "README.md", content-type = "text/markdown"}
requires-python = "==3.12"
license = { text = "MIT" }
dependencies = [
"jax>=0.4.20,<0.5",
"jaxlib>=0.4.20,<0.5",
"exponax>=0.2.0",
"numpy>=1.23",
"matplotlib>=3.6"
]
[project.urls]
Homepage = "https://github.com/bibymaths/acthermal_tumor"
Repository = "https://github.com/bibymaths/acthermal_tumor"
Tracker = "https://github.com/bibymaths/acthermal_tumor/issues"
[project.optional-dependencies]
dev = [
"pytest>=7.4",
"pytest-cov>=5.0",
"ruff>=0.4.0",
]
lint = [
"ruff>=0.4.0",
]
test = [
"pytest>=7.4",
"pytest-cov>=5.0",
]
[dependency-groups]
dev = [
"pytest>=7.4",
"pytest-cov>=5.0",
"ruff>=0.4.0",
]
lint = [
"ruff>=0.4.0",
]
test = [
"pytest>=7.4",
"pytest-cov>=5.0",
]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.sdist]
include = [
"/src",
"/assets",
"/examples",
"/tests"
]
[tool.hatch.build.targets.wheel]
packages = ["src/acthermal_tumor"]
[tool.ruff]
target-version = "py312"
line-length = 88
src = ["src"]
[tool.ruff.lint]
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # pyflakes
"I", # isort
"UP", # pyupgrade
"B", # flake8-bugbear
"N", # pep8-naming
]
ignore = ["E501"] # line length handled by formatter
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
[tool.pytest.ini_options]
testpaths = ["tests"]
addopts = [
"--cov=src/acthermal_tumor",
"--cov-report=term-missing",
"--cov-report=xml:coverage.xml",
"--cov-fail-under=70",
]
[tool.coverage.run]
source = ["src/acthermal_tumor"]
omit = ["tests/*", "examples/*"]
[tool.coverage.report]
show_missing = true
skip_covered = false