-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpyproject.toml
110 lines (102 loc) · 1.56 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
[project]
name = "ml-project-template"
version = "0.0.1"
requires-python = "~=3.12"
dependencies = [
"torch>=2.5.1",
"wandb>=0.18.5",
"hydra-zen>=0.13.0",
"submitit>=1.5.1",
"python-dotenv>=1.0.1",
"numpy>=2.1.3",
"pydantic>=2.10.3",
]
[dependency-groups]
dev = [
"pre-commit>=4.0.1",
"ruff>=0.8.0",
]
[tool.uv.sources]
torch = [
{ index = "pytorch-cu124", marker = "platform_system != 'Darwin'" },
]
[[tool.uv.index]]
name = "pytorch-cu124"
url = "https://download.pytorch.org/whl/cu124"
explicit = true
[tool.mypy]
explicit_package_bases = true
disable_error_code = ["import-untyped"]
[[tool.mypy.overrides]]
module = "cloudpathlib.*"
ignore_errors = true
follow_imports = "skip"
[tool.ruff]
line-length = 119
indent-width = 4
[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"
]
[tool.ruff.lint.per-file-ignores]
"**/tests/**/*.py" = [
"S101",
"ARG",
"FBT",
]