-
Notifications
You must be signed in to change notification settings - Fork 3
/
pyproject.toml
103 lines (91 loc) · 2.29 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
[build-system]
requires = ["setuptools>=62.0", "setuptools-scm"]
build-backend = "setuptools.build_meta"
[project]
name = "segmantic"
authors = [{name = "Bryn Lloyd", email = "[email protected]"}]
readme = "README.md"
requires-python = ">=3.9"
license = {file = "LICENSE"}
dynamic = ["version"]
classifiers = [
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Operating System :: OS Independent",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Software Development :: Libraries",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License"
]
dependencies = [
"adabelief_pytorch",
"h5py",
"itk-io",
"matplotlib",
"monai",
"nibabel",
"pytorch-lightning",
"scikit-learn",
"SimpleITK",
"sitk-cli",
"tensorboard",
"torch",
"torchvision",
"typer",
"typing-extensions"
]
[tool.setuptools.dynamic]
version = {attr = "segmantic.__version__"}
[project.optional-dependencies]
test = [
"mypy",
"pytest"
]
dev = [
"black",
"coverage",
"flake8",
"isort",
"mypy",
"pre-commit",
"pytest-cov"
]
[project.urls]
repository = "https://github.com/dyollb/segmantic.git"
documentation = "https://dyollb.github.io/segmantic/"
[project.scripts]
segmantic-unet = "segmantic.commands.monai_unet_cli:main"
[tool.isort]
profile = "black"
[tool.mypy]
disallow_untyped_defs = false
warn_unused_configs = true
warn_redundant_casts = true
warn_unused_ignores = false
warn_return_any = true
strict_equality = true
no_implicit_optional = false
exclude = [
'build'
]
show_column_numbers = true
show_error_codes = true
[[tool.mypy.overrides]]
module = [
'segmantic.prepro.*',
'segmantic.utils.*'
]
disallow_untyped_defs = true
[[tool.mypy.overrides]]
module = "itk.*,PIL,matplotlib.*,torchvision.*,numba,setuptools,pytest,typer.*,click,colorama,nibabel,sklearn.*,yaml,scipy.*,adabelief_pytorch,h5py,SimpleITK,vtk.*,sitk_cli"
ignore_missing_imports = true
[tool.ruff]
lint.select = ["E", "F"]
lint.ignore = ["E501"]
[tool.typos]
[tool.typos.default.extend-identifiers]
# *sigh* monai adds 'd' to dictionary transforms
SpatialPadd = "SpatialPadd"