forked from AdaptiveMotorControlLab/CellSeg3D
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
117 lines (109 loc) · 2.04 KB
/
pyproject.toml
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
105
106
107
108
109
110
111
112
113
114
115
116
117
[project]
name = "napari_cellseg3d"
version = "0.0.2rc6"
authors = [
{name = "Cyril Achard", email = "[email protected]"},
{name = "Maxime Vidal", email = "[email protected]"},
{name = "Mackenzie Mathis", email = "[email protected]"},
]
requires-python = ">=3.8"
dependencies = [
"numpy",
"napari>=0.4.14",
"QtPy",
"opencv-python>=4.5.5",
"scikit-image>=0.19.2",
"matplotlib>=3.4.1",
"tifffile>=2022.2.9",
"imageio-ffmpeg>=0.4.5",
"torch>=1.11",
"monai[nibabel,einops]>=0.9.0",
"tqdm",
"nibabel",
"scikit-image",
"pillow",
"pyclesperanto-prototype",
"tqdm",
"matplotlib",
"vispy>=0.9.6",
]
[build-system]
requires = ["setuptools", "wheel"]
build-backend = "setuptools.build_meta"
[tool.setuptools]
include-package-data = true
[tool.setuptools.packages.find]
where = ["."]
[tool.setuptools.package-data]
"*" = ["res/*.png", "code_models/models/pretrained/*.json", "*.yaml"]
[tool.ruff]
select = [
"E", "F", "W",
"A",
"B",
"G",
"I",
"PT",
"PTH",
"RET",
"SIM",
"TCH",
"NPY",
]
# Never enforce `E501` (line length violations) and 'E741' (ambiguous variable names)
# and 'G004' (do not use f-strings in logging)
ignore = ["E501", "E741", "G004", "A003"]
exclude = [
".bzr",
".direnv",
".eggs",
".git",
".git-rewrite",
".hg",
".mypy_cache",
".nox",
".pants.d",
".pytype",
".ruff_cache",
".svn",
".tox",
".venv",
"__pypackages__",
"_build",
"buck-out",
"build",
"dist",
"node_modules",
"venv",
"docs/conf.py",
"napari_cellseg3d/_tests/conftest.py",
]
[tool.black]
line-length = 79
[tool.isort]
profile = "black"
line_length = 79
[project.optional-dependencies]
all = [
"napari[all]>=0.4.14",
]
dev = [
"isort",
"black",
"ruff",
"tuna",
"pre-commit",
]
docs = [
"sphinx",
"sphinx_autodoc_typehints",
"sphinx_rtd_theme",
"twine",
]
test = [
"pytest",
"pytest_qt",
"coverage",
"tox",
"twine",
]