-
Notifications
You must be signed in to change notification settings - Fork 1
/
pyproject.toml
71 lines (63 loc) · 1.6 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
[build-system]
requires = ["maturin>=1.7,<2.0"]
build-backend = "maturin"
[tool.maturin]
features = ["pyo3/extension-module"]
module-name = "polars_st._lib"
[project]
name = "polars-st"
description = "Spatial extension for Polars DataFrames"
readme = "README.md"
requires-python = ">=3.10"
dynamic = ["version"]
dependencies = [
"polars>=1.7.1",
"pydantic>=2.9.1",
"pyogrio>=0.9.0",
]
[tool.uv]
dev-dependencies = [
"altair>=5.4.1",
"black>=24.8.0",
"geodatasets>=2024.8.0",
"geopandas>=1.0.1",
"ipykernel>=6.29.5",
"maturin[zig]>=1.7.4",
"mkdocs-material>=9.5.34",
"mkdocs>=1.6.1",
"mkdocstrings-python>=1.11.1",
"pyarrow>=17.0.0",
"pyright>=1.1.380",
"pytest>=8.3.3",
"ruff>=0.6.4",
"shapely>=2.0.6",
]
[tool.pyright]
typeCheckingMode = "basic"
[tool.ruff]
target-version="py310"
line-length = 100
[tool.ruff.format]
preview = true
[tool.ruff.lint]
pydocstyle.convention = "google"
select = ["ALL"]
fixable = ["ALL"]
ignore = [
"FBT", # Boolean traps
"PIE790", # Unnecessary `...` literal
"ANN401", # Dynamically typed expressions (typing.Any) are disallowed
"PLR0913", # Too many arguments in function definition
"PLR2004", # Magic value used in comparison
"PD901", # Avoid using the generic variable name `df` for DataFrames
"ISC001", # Single line implicit string concatenation (unexpected behavior)
"COM812", # Missing trailing comma (unexpected behavior)
"D1",
"D402",
]
[tool.ruff.lint.per-file-ignores]
"tests/*" = [
"S101", # Assert
"ANN", # Type annotations
"PLR0911", # Too many return statements
]