forked from marvinsxtr/ml-project-template
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpyproject.toml
103 lines (99 loc) · 1.45 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
[project]
name = "ml-project-template"
version = "0.1.0"
description = "ML Project Template"
readme = "README.md"
requires-python = ">=3.12"
dependencies = [
"hydra-zen>=0.13.0",
"loguru>=0.7.3",
"python-dotenv>=1.0.1",
"submitit>=1.5.2",
"wandb>=0.19.6",
]
[tool.uv]
dev-dependencies = [
"mkdocs-material>=9.5.50",
"pre-commit>=4.1.0",
"pyright>=1.1.392.post0",
"pytest>=8.3.4",
"pytest-cov>=6.0.0",
"ruff>=0.9.2",
]
[tool.ruff]
line-length = 119
indent-width = 4
[tool.ruff.lint]
ignore = [
"ANN001",
"ANN002",
"ANN003",
"ANN401",
"D413",
"COM812",
"D100",
"D103",
"D104",
"D105",
"D107",
"D205",
"PD901",
"D400",
"D401",
"D415",
"FA",
"SLF",
"INP",
"TRY003",
"TRY201",
"EM",
"FBT",
"RET",
"C406",
"E501",
"E741",
"PLR2004",
"RUF009",
"RUF012",
"BLE001",
"N817",
"N812",
"S603",
"S607",
"S506",
"FIX002",
"NPY002",
"G004",
"S311",
"PIE790",
"TRY400",
"S108",
"S101",
"W191",
"E111",
"E114",
"E117",
"D101",
"D102",
"D206",
"D300",
"Q000",
"Q001",
"Q002",
"Q003",
"COM812",
"COM819",
"D203",
"D213",
"N806",
"N803",
"E712",
"PLR0913",
"TC001",
"PD011",
"TD002",
"TD003",
]
select = ["ALL"]
[tool.ruff.lint.per-file-ignores]
"**/tests/**/*.py" = ["S101", "ARG", "FBT"]