-
Notifications
You must be signed in to change notification settings - Fork 1
/
pyproject.toml
87 lines (78 loc) · 2.08 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
# https://peps.python.org/pep-0517/
# https://hatch.pypa.io/latest/config/build/
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
# https://peps.python.org/pep-0621/
[project]
name = "cellulus"
description = "Unsupervised Segmentation of Cells in Microscopy Images"
readme = "README.md"
license = { text = "MIT" }
authors = [
{ name = "Steffen Wolf", email = "[email protected]" },
{ name = "Manan Lalit", email = "[email protected]" },
{ name = "Henry Westmacott", email = "[email protected]" },
{ name = "Jan Funke", email = "[email protected]" },
]
dynamic = ["version"]
dependencies = [
"attrs",
"click",
"tomli",
"torch",
"zarr",
"scikit-image",
"tqdm",
"gunpowder @git+https://github.com/funkelab/gunpowder@d721190fc40e16ef595e7623405d07f14102daed",
"scikit-learn",
"funlib.learn.torch @ git+https://github.com/funkelab/funlib.learn.torch@f36decaf95e2b6d1b74a45b31660d29f8e57e5c4",
"matplotlib",
"pandas",
"csbdeep"
]
[project.optional-dependencies]
dev = ["pre-commit", "pytest", "pytest-cov", "ruff", "twine", "build"]
examples = ["jupyter", "matplotlib"]
docs = [
"sphinx",
"sphinx_rtd_theme",
"sphinx_togglebutton",
"jupyter_sphinx",
]
[project.urls]
homepage = "https://funkelab.github.io/cellulus"
[project.scripts]
train = "cellulus.cli:train"
infer = "cellulus.cli:infer"
# https://hatch.pypa.io/latest/version/
[tool.hatch.version]
path = "cellulus/__init__.py"
[tool.hatch.metadata]
allow-direct-references = true
# https://beta.ruff.rs/docs
[tool.ruff]
target-version = "py38"
src = ["cellulus"]
select = [
"F", # pyflakes
"E", # pycodestyle
"I", # isort
"UP", # pyupgrade
"RUF", # ruff specific rules
]
# https://coverage.readthedocs.io/en/6.4/config.html
[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"pragma: ${PY_MAJOR_VERSION} no cover",
"if TYPE_CHECKING:",
"\\.\\.\\.",
]
[tool.mypy]
files = "cellulus"
strict = true
allow_untyped_defs = true
allow_untyped_calls = true
disallow_any_generics = false
ignore_missing_imports = true