-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
90 lines (89 loc) · 2.09 KB
/
pyproject.toml
File metadata and controls
90 lines (89 loc) · 2.09 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
90
[project]
dependencies = [
"duckdb>=1.5.0",
"narwhals>=2.16.0",
"pyochain>=0.9.2",
"sqlglot[c]>=30.1.0",
]
description = "Polars syntax for SQL"
name = "pql"
readme = "README.md"
requires-python = ">=3.13"
version = "0.1.0"
[dependency-groups]
dev = [
"basedpyright>=1.38.2",
"ibis>=3.3.0",
"logeye>=1.4.0",
"matplotlib>=3.10.8",
"narwhals>=2.15.0",
"numpy>=2.4.2",
"pandas-stubs>=3.0.0.260204",
"pandas>=3.0.1",
"polars>=1.37.1",
"pyarrow-stubs>=20.0.0.20251215",
"pyarrow>=23.0.0",
"pytest-cov>=7.0.0",
"pytest>=9.0.2",
"pytz>=2025.2",
"ruff>=0.14.14",
"sqlparse>=0.5.5",
"typer>=0.21.1",
]
[build-system]
build-backend = "uv_build"
requires = ["uv_build>=0.8.15,<0.9.0"]
[tool.ruff]
lint.ignore = [
"A001",
"A004",
"C417",
"COM812",
"COM812",
"CPY001",
"D401",
"E501",
"FIX002",
"PD003",
"PLC0415",
"PLC1901",
"PLC2801",
"PLR0904",
"PLR2004",
"S101",
"S404",
"S608",
"SLF001",
"T201",
"T203",
"TC003",
"TC006",
"TD002",
"TD003",
"TID252",
]
lint.select = ["ALL"]
preview = true
[tool.ruff.format]
docstring-code-format = true
[tool.ruff.lint.pydocstyle]
convention = "google"
[tool.ruff.lint.per-file-ignores]
"src/pql/sql/_code_gen/*.py" = [
"A002",
"ANN401",
"FBT001",
"FBT002",
"PLR0913",
"PLW1641",
]
"t.py" = ["ANN201", "D100", "D101", "D103"]
"tests/*" = ["D100", "D101", "D102", "D103", "D104", "DTZ001", "FBT001"]
[tool.ruff.lint.isort]
combine-as-imports = true
[tool.coverage.run]
omit = ["src/pql/_types.py"]
[tool.basedpyright]
reportImportCycles = false
reportMissingSuperCall = false
typeCheckingMode = "all"