-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
111 lines (106 loc) · 2.01 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
[build-system]
requires = ["flit_core >=3.2,<4"]
build-backend = "flit_core.buildapi"
[project]
name = "torch_uncertainty_ls"
version = "0.0.1"
authors = [
{ name = "Guoxuan Xia", email = "g.xia21@imperial.ac.uk" },
{ name = "Olivier Laurent", email = "olivier.laurent@ensta-paris.fr" },
]
description = "Impact of label-smoothing on selective classification"
readme = "README.md"
requires-python = ">=3.10"
keywords = ["selective-classification", "label-smoothing"]
classifiers = [
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3 :: Only",
]
dependencies = ["torch_uncertainty[image]", "ipykernel", "datasets"]
[project.urls]
homepage = "https://torch-uncertainty.github.io/"
documentation = "https://torch-uncertainty.github.io/quickstart.html"
repository = "https://github.com/o-laurent/Label-smoothing-Selective-classification"
[tool.flit.module]
name = "torch_uncertainty_ls"
[tool.ruff]
line-length = 130
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",
"D203",
"D205",
"D206",
"D211",
"D213",
"D401",
"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__",
"_build",
"buck-out",
"build",
"dist",
"venv",
]