-
Notifications
You must be signed in to change notification settings - Fork 20
/
pyproject.toml
169 lines (160 loc) · 3.09 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
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
[build-system]
requires = ["flit_core >=3.2,<4"]
build-backend = "flit_core.buildapi"
[project]
name = "torch_uncertainty"
version = "0.3.1"
authors = [
{ name = "ENSTA U2IS", email = "[email protected]" },
{ name = "Adrien Lafage", email = "[email protected]" },
{ name = "Olivier Laurent", email = "[email protected]" },
]
description = "Uncertainty quantification library in PyTorch"
readme = "README.md"
requires-python = ">=3.10"
keywords = [
"bayesian-network",
"ensembles",
"neural-networks",
"predictive-uncertainty",
"reliable-ai",
"trustworthy-machine-learning",
"uncertainty",
"uncertainty-quantification",
]
classifiers = [
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
]
dependencies = [
"timm",
"lightning[pytorch-extra]>=2.0",
"torchvision>=0.16",
"einops",
"seaborn",
]
[project.optional-dependencies]
image = [
"scikit-image",
"h5py",
"opencv-python",
"Wand",
]
tabular = ["pandas"]
dev = [
"scikit-learn",
"huggingface-hub",
"torch_uncertainty[image]",
"ruff==0.7.4",
"pytest-cov",
"pre-commit",
"pre-commit-hooks",
]
docs = [
"sphinx<6",
"tu_sphinx_theme",
"sphinx-copybutton",
"sphinx-gallery",
"sphinx-design",
"sphinx-codeautolink",
]
all = [
"torch_uncertainty[dev,docs,image,tabular]",
"laplace-torch",
"glest==0.0.1a1",
"scipy",
"tensorboard",
]
[project.urls]
homepage = "https://torch-uncertainty.github.io/"
documentation = "https://torch-uncertainty.github.io/quickstart.html"
repository = "https://github.com/ENSTA-U2IS-AI/torch-uncertainty.git"
[tool.flit.module]
name = "torch_uncertainty"
[tool.ruff]
line-length = 100
target-version = "py310"
lint.extend-select = [
"A",
"ARG",
"B",
"C4",
"D",
"ERA",
"F",
"G",
"I",
"ISC",
"ICN",
"N",
"NPY",
"PERF",
"PIE",
"PTH",
"PYI",
"Q",
"RET",
"RUF",
"RSE",
"S",
"SIM",
"TCH",
"TID",
"TRY",
"UP",
"YTT",
]
lint.ignore = [
"ARG002",
"D100",
"D101",
"D102",
"D103",
"D104",
"D107",
"D205",
"D206",
"ISC001",
"N818",
"N812",
"RUF012",
"S101",
"TRY003",
]
exclude = [
".bzr",
".direnv",
".eggs",
".git",
".git-rewrite",
".hg",
".ipynb_checkpoints",
".mypy_cache",
".nox",
".pants.d",
".pytype",
".ruff_cache",
".svn",
".tox",
".venv",
"__pypackages__",
"__pycache__",
"auto_tutorials_source/*",
"_build",
"buck-out",
"build",
"dist",
"venv",
]
[tool.ruff.lint.pydocstyle]
convention = "google"
[tool.coverage.run]
branch = true
include = ["*/torch-uncertainty/*"]
omit = ["*/tests/*", "*/datasets/*"]
[tool.coverage.report]
exclude_lines = ["coverage: ignore", "raise NotImplementedError", "raise ImportError"]
ignore_errors = true