-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
63 lines (53 loc) · 1.17 KB
/
Copy pathpyproject.toml
File metadata and controls
63 lines (53 loc) · 1.17 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
[build-system]
requires = ["setuptools>=68"]
build-backend = "setuptools.build_meta"
[project]
name = "cathsim"
version = "0.1.0"
description = "Physics-driven 2D endovascular catheter & guidewire simulation trainer"
readme = "README.md"
requires-python = ">=3.10"
dependencies = [
"defusedxml>=0.7",
"numpy>=1.26",
"scipy>=1.11",
"pygame-ce>=2.5",
]
[project.optional-dependencies]
hardware = ["pyserial>=3.5"]
dev = [
"pytest>=8",
"pytest-cov",
"coverage",
"mypy>=1.8",
"types-defusedxml",
"ruff>=0.4",
"black>=24",
]
[tool.setuptools.packages.find]
where = ["src"]
[tool.pytest.ini_options]
testpaths = ["tests"]
pythonpath = ["src", "tests"]
markers = [
"benchmark: wall-clock performance gates; results depend on the host machine",
]
[tool.mypy]
files = ["src/cathsim", "tests"]
mypy_path = "src"
disallow_untyped_defs = true
warn_return_any = true
warn_unused_ignores = true
[tool.ruff]
line-length = 100
src = ["src", "tests"]
[tool.ruff.lint]
select = ["E", "W", "F", "I", "UP"]
[tool.black]
line-length = 100
target-version = ["py310"]
[tool.coverage.run]
source = ["cathsim"]
[tool.coverage.report]
fail_under = 85
show_missing = true