-
-
Notifications
You must be signed in to change notification settings - Fork 558
Expand file tree
/
Copy pathpyproject.toml
More file actions
61 lines (53 loc) · 1.25 KB
/
pyproject.toml
File metadata and controls
61 lines (53 loc) · 1.25 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
[build-system]
requires = ["setuptools>=61.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "pytorch3dunet"
dynamic = ["version"]
description = "Versatile U-Net implementation for volumetric semantic segmentation written in PyTorch"
readme = "README.md"
license = {text = "MIT"}
authors = [
{name = "Adrian Wolny"},
{name = "Lorenzo Cerrone"}
]
requires-python = ">=3.11"
dependencies = [
"torch",
"torchvision",
"numpy",
"tensorboard",
"tqdm",
"h5py",
"scipy",
"scikit-image",
"pyyaml"
]
[project.urls]
Homepage = "https://github.com/wolny/pytorch-3dunet"
[project.scripts]
train3dunet = "pytorch3dunet.train:main"
predict3dunet = "pytorch3dunet.predict:main"
[tool.setuptools.dynamic]
version = {attr = "pytorch3dunet.__version__.__version__"}
[tool.setuptools.packages.find]
exclude = ["tests*"]
[tool.ruff]
line-length = 120
target-version = "py311"
[tool.ruff.lint]
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # pyflakes
"I", # isort
"B", # flake8-bugbear
"C4", # flake8-comprehensions
"UP", # pyupgrade
]
ignore = [
"E501", # line too long (handled by formatter)
]
[tool.ruff.format]
quote-style = "double"
indent-style = "space"