-
Notifications
You must be signed in to change notification settings - Fork 135
Expand file tree
/
Copy pathpyproject.toml
More file actions
78 lines (67 loc) · 1.88 KB
/
pyproject.toml
File metadata and controls
78 lines (67 loc) · 1.88 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
[project]
name = "workspace"
version = "0.1.0"
description = "Add your description here"
authors = [{ name = "Nicholas Gates", email = "nick@nickgates.com" }]
requires-python = ">= 3.11"
dependencies = ["bench-orchestrator", "vortex-data", "docs"]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["dummy"] # Required for workspace project
[dependency-groups]
# Currently, all dev dependencies live in the root since uv doesn't have transitive dev dependencies.
# See: https://github.com/astral-sh/uv/issues/7541
dev = [
"basedpyright>=1.31",
"duckdb>=1.1.2",
"ipython>=8.26.0",
"maturin>=1.7.2",
"pandas-stubs>=2.2.3.241126",
"pandas[output-formatting]>=2.2.3",
"pcodec>=0.3.3",
"pip>=23.3.2",
"polars>=1.9.0",
"pyarrow-stubs>=17.16",
"pytest-benchmark>=4.0.0",
"pytest>=7.4.0",
"ruff>=0.7.1",
"ray>=2.48",
"pytest-benchmark>=5.1.0",
# forced transitive bumps
"urllib3>=2.6.3",
"filelock>=3.20.3",
"protobuf>=6.33.5",
]
[tool.uv]
managed = true
required-version = ">=0.8.0"
[tool.uv.workspace]
members = ["bench-orchestrator", "vortex-python", "docs"]
[tool.uv.sources]
bench-orchestrator = { workspace = true }
vortex-data = { workspace = true }
docs = { workspace = true }
[tool.ruff]
line-length = 120
extend-exclude = [".venv", "vortex-duckdb/duckdb/**"]
[tool.ruff.lint]
select = ["F", "E", "W", "UP", "I"]
# Do not auto-fix unused variables. This is really annoying when IntelliJ runs autofix while editing.
unfixable = ["F841"]
[tool.ruff.lint.isort]
known-first-party = [
"vortex.scan",
"vortex.file",
"vortex.expr",
"vortex.ray",
"vortex.type_aliases",
"vortex.polars_",
]
[tool.pytest.ini_options]
log_cli = true
log_cli_level = "INFO"
xfail_strict = true
[tool.basedpyright]
exclude = ["vortex-python/python/vortex/_lib/store/**.pyi"]