-
Notifications
You must be signed in to change notification settings - Fork 11
/
pyproject.toml
50 lines (43 loc) · 1.11 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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "quak"
version = "0.2.1"
dependencies = ["anywidget>=0.9.0", "pyarrow>=16.0.0", "duckdb>=1.0.0"]
readme = "README.md"
requires-python = ">=3.8"
[tool.hatch.build]
only-packages = true
artifacts = ["src/quak/widget.js", "scripts/hatch_build.py"]
[tool.hatch.envs.default]
installer = "uv"
[tool.uv]
dev-dependencies = [
"anywidget[dev]>=0.9.13",
"jupyterlab>=4.2.5",
"ruff>=0.6.2",
"polars>=1.5.0",
"vega-datasets>=0.9.0",
]
[tool.ruff.lint]
pydocstyle = { convention = "numpy" }
select = [
"E", # style errors
"W", # style warnings
"F", # flakes
"D", # pydocstyle
"D417", # Missing argument descriptions in Docstrings
"I", # isort
"UP", # pyupgrade
"C4", # flake8-comprehensions
"B", # flake8-bugbear
"A001", # flake8-builtins
"RUF", # ruff-specific rules
"TCH", # flake8-type-checking
"TID", # flake8-tidy-imports
]
[tool.ruff.lint.per-file-ignores]
"tests/*.py" = ["D", "S"]
[tool.hatch.build.hooks.custom]
path = "scripts/hatch_build.py"