-
Notifications
You must be signed in to change notification settings - Fork 1
/
pyproject.toml
125 lines (111 loc) · 2.51 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
118
119
120
121
122
123
124
125
[build-system]
requires = ["setuptools", "setuptools_scm[toml]>=6.2", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "minerva"
dynamic = ["version"]
description = "Package to build, train and test neural network models on geospatial data"
readme = "README.md"
authors = [
{ name="Harry Baker", email="[email protected]" },
]
requires-python = ">=3.10"
license = {file = "LICENSE"}
classifiers = [
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3 :: Only",
"License :: OSI Approved :: MIT License",
"Development Status :: 4 - Beta",
"Operating System :: OS Independent",
"Natural Language :: English",
]
dependencies = [
"argcomplete",
"geopy",
"imageio",
"inputimeout",
"lightly",
"kornia",
"matplotlib",
"hydra-core",
"mlflow-skinny",
"numba>=0.57.0; python_version>='3.11'",
"numpy>=2.0.0",
"overload",
"opencv-python",
"pandas",
"psutil",
"pyyaml",
"requests",
"scikit-learn",
"tabulate",
"torcheval",
"torch>=2.4.0",
"torchgeo>=0.6.0",
"torchinfo",
"tqdm",
"types-PyYAML",
"types-requests",
"types-tabulate",
"wandb",
"segmentation-models-pytorch",
"tifffile",
]
[project.optional-dependencies]
test = [
"internet-sabotage3",
"flake8",
"mypy",
"pytest",
"pytest-cov",
"pytest-lazy-fixtures",
"tox",
]
docs = [
"myst_parser",
"sphinx",
"sphinx-rtd-theme",
]
dev = [
"pre-commit",
"build",
"pipenv",
]
onnx = [
"onnx2torch",
]
tensorflow = [
"tensorflow",
]
dfc = [
"torchdata",
]
[project.urls]
"Homepage" = "https://github.com/Pale-Blue-Dot-97/Minerva"
"Bug Tracker" = "https://github.com/Pale-Blue-Dot-97/Minerva/issues"
[tool.pytest.ini_options]
addopts = "--cov=minerva"
testpaths = ["tests",]
filterwarnings = "ignore::DeprecationWarning"
[tool.mypy]
mypy_path = "minerva"
check_untyped_defs = true
disallow_any_generics = true
ignore_missing_imports = true
no_implicit_optional = true
show_error_codes = true
strict_equality = true
warn_redundant_casts = true
warn_return_any = true
warn_unreachable = true
warn_unused_configs = true
no_implicit_reexport = true
plugins = "numpy.typing.mypy_plugin"
[tool.isort]
profile = "black"
[tool.bandit]
skips = ["B101", "B311", "B301", "B403", "B404", "B603", "B614"]
[tool.setuptools_scm]
write_to = "minerva/_version.py"