-
Notifications
You must be signed in to change notification settings - Fork 31
/
pyproject.toml
55 lines (47 loc) · 1.27 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
[project]
name = "workspace"
version = "0.1.0"
description = "Add your description here"
authors = [{ name = "Nicholas Gates", email = "[email protected]" }]
requires-python = ">= 3.10"
dependencies = [
"vortex-array",
"docs",
]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["dummy"] # Required for workspace project
[tool.uv]
managed = true
# 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-dependencies = [
"duckdb>=1.1.2",
"ipython>=8.26.0",
"maturin>=1.7.2",
"pandas[output-formatting]>=2.2.3",
"pip>=23.3.2",
"polars>=1.9.0",
"pyright>=1.1.385",
"pytest-benchmark>=4.0.0",
"pytest>=7.4.0",
"ruff>=0.7.1",
]
[tool.uv.workspace]
members = ["pyvortex", "docs"]
[tool.uv.sources]
vortex-array = { workspace = true }
docs = { workspace = true }
[tool.ruff]
line-length = 120
extend-exclude = [".venv"]
[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.pytest.ini_options]
log_cli = true
log_cli_level = "INFO"
xfail_strict = true