-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
64 lines (52 loc) · 1.31 KB
/
pyproject.toml
File metadata and controls
64 lines (52 loc) · 1.31 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
[build-system]
requires = ["hatchling", "versioningit"]
build-backend = "hatchling.build"
[project]
name = "stl2mask"
description = "Convert STL segmentations to binary masks."
readme = "README.md"
authors = [
{ name = "Corné Haasjes" },
{ name = "Jan-Willem Beenakker" },
]
maintainers = [
{ name = "MReye research group", email = "zospy@mreye.nl" }
]
requires-python = ">=3.10,<3.14"
dependencies = [
"click>=8.2.1",
"meshlib>=3.0.7.226",
"numpy>=2.0.0",
"simpleitk>=2.5.2",
]
dynamic = ["version"]
[project.scripts]
stl2mask = "stl2mask.stl_to_mask:cli"
mask2stl = "stl2mask.mask_to_stl:cli"
[tool.hatch.version]
source = "versioningit"
default-version = "0.0.0+unknown"
[tool.hatch.envs.hatch-static-analysis]
dependencies = ["ruff==0.15.6"]
config-path = "ruff_defaults.toml"
[tool.ruff]
extend = "ruff_defaults.toml"
line-length = 120
[tool.ruff.lint]
select = ["ALL"]
ignore = ["COM812", "D203", "D213", "ISC001"]
[tool.ruff.lint.per-file-ignores]
"tests/**" = ["D", "S101",]
[tool.ruff.lint.flake8-pytest-style]
parametrize-names-type = "csv"
[tool.ruff.lint.isort]
required-imports = ["from __future__ import annotations"]
[tool.ruff.lint.pep8-naming]
ignore-names = ["sitk"]
[tool.ruff.lint.pylint]
max-args = 10
[dependency-groups]
dev = [
"pytest>=8.4.2",
"pytest-mock>=3.15.1",
]