-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
113 lines (104 loc) · 1.63 KB
/
pyproject.toml
File metadata and controls
113 lines (104 loc) · 1.63 KB
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
[build-system]
requires = ["setuptools>=64.0"]
build-backend = "setuptools.build_meta"
[project]
name = "ml_project_template"
version = "0.0.14"
requires-python = ">=3.12"
dependencies = [
"equinox>=0.13.2",
"h5py>=3.15.1",
"ipykernel>=7.1.0",
"jax[cuda]==0.5.3",
"jaxtyping>=0.3.3",
"numpy>=2.3.5",
"openml>=0.15.1",
"optax>=0.2.6",
"pandas>=2.3.3",
"pytest>=8.3.5",
"schedulefree>=1.4.1",
"scikit-learn==1.6.1",
"seaborn>=0.13.2",
"tabpfn==2.2.1",
"torch>=2.9.1",
]
[dependency-groups]
dev = ["pre-commit>=4.0.1", "ruff>=0.8.0"]
[tool.setuptools.packages.find]
include = ["ml_project_template"]
namespaces = true
[tool.pytest.ini_options]
pythonpath = ["."]
[tool.mypy]
explicit_package_bases = true
disable_error_code = ["import-untyped"]
[tool.ruff]
line-length = 119
indent-width = 4
extend-exclude = ["experiment.ipynb", "tests", "torch_impl"]
[tool.ruff.pydocstyle]
convention = "google"
[tool.ruff.lint]
select = ["ALL"]
ignore = [
"ANN002",
"ANN003",
"ANN401",
"D413",
"COM812",
"D100",
"D104",
"D107",
"D205",
"PD901",
"D400",
"D401",
"D415",
"FA",
"SLF",
"INP",
"TRY003",
"TRY201",
"EM",
"FBT",
"RET",
"C406",
"E741",
"PLR2004",
"RUF009",
"RUF012",
"BLE001",
"S603",
"S607",
"S506",
"FIX002",
"NPY002",
"G004",
"S311",
"PIE790",
"TRY400",
"S108",
"W191",
"E111",
"E114",
"E117",
"D206",
"D300",
"Q000",
"Q001",
"Q002",
"Q003",
"COM812",
"COM819",
"D203",
"D213",
"N806",
"N803",
"E712",
"PLR0913",
"TC001",
"F722",
"T201"
]
[tool.ruff.lint.per-file-ignores]
"**/tests/**/*.py" = ["S101", "ARG", "FBT"]