forked from sb-ai-lab/AutoDS-Tools
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
89 lines (76 loc) · 1.66 KB
/
pyproject.toml
File metadata and controls
89 lines (76 loc) · 1.66 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
[project]
name = "autods-workspace"
version = "0.1.0"
description = "Workspace root for the AutoDS monorepo"
requires-python = ">=3.12"
dependencies = [
"autods-cli",
]
[dependency-groups]
dev = [
"pre-commit>=4.2.0",
"pytest>=8.4.2",
"pytest-asyncio>=0.26.0",
"pytest-cov>=7.0.0",
"pytest-mock>=3.12.0",
"ruff>=0.13.0",
"ty>=0.0.27",
"types-pyyaml>=6.0.12.20250822",
]
[tool.uv]
default-groups = ["dev"]
[tool.uv.workspace]
members = [
"packages/autods",
"packages/pygrad",
"apps/server",
"apps/cli",
]
[tool.ruff]
target-version = "py312"
line-length = 120
fix = true
extend-exclude = [
"apps/frontend/.next",
"apps/frontend/node_modules",
"bench/results",
"mle-bench",
"RepoMaster",
]
[tool.ruff.lint]
select = [
"I",
"F401",
]
[tool.ruff.lint.isort]
known-first-party = ["autods", "autods_cli", "autods_web", "pygrad"]
[tool.pytest.ini_options]
testpaths = [
"packages/autods/tests",
"packages/pygrad/tests",
"apps/server/tests",
"apps/cli/tests",
]
python_files = ["test_*.py", "*_test.py"]
python_classes = ["Test*"]
python_functions = ["test_*"]
addopts = "-v --tb=short"
asyncio_mode = "auto"
asyncio_default_fixture_loop_scope = "function"
markers = [
"unit: marks tests as unit tests",
"integration: marks tests as integration tests",
]
[tool.ty]
[tool.ty.environment]
python-version = "3.12"
[tool.ty.rules]
all = "warn"
[[tool.ty.overrides]]
include = ["packages/**/tests/**", "apps/**/tests/**", "**/test_*.py"]
[tool.ty.overrides.rules]
all = "warn"
possibly-unresolved-reference = "ignore"
[tool.uv.sources]
autods-cli = { workspace = true }
pygrad = { workspace = true }