-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathpyproject.toml
More file actions
50 lines (43 loc) · 1.22 KB
/
Copy pathpyproject.toml
File metadata and controls
50 lines (43 loc) · 1.22 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
[project]
name = "dlt-playground"
version = "2.0"
description = "data load tool playground"
readme = "README.md"
requires-python = ">=3.12,<3.14"
dependencies = [
"dlt[duckdb]>=1.21.0,<2.0",
"duckdb>=1.4.4,<2.0",
"polars>=1.38.0,<2.0",
"pandas>=3.0,<4.0",
]
[dependency-groups]
dev = [
"ruff>=0.15.0",
"jupyterlab>=4.5.3",
]
[tool.ruff]
line-length = 100
[tool.ruff.format]
skip-magic-trailing-comma = false
preview = true # unstable: enables 'hug_parens_with_braces_and_square_brackets' for compact StructType([...])
[tool.ruff.lint]
preview = true # unstable: enables latest lint rules before stabilization
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # Pyflakes
"I", # isort (import sorting)
"UP", # pyupgrade (modernize syntax for newer Python)
"B", # flake8-bugbear (common bug patterns)
"SIM", # flake8-simplify (code simplification)
"RUF", # Ruff-specific rules
]
ignore = [
"E501", # line too long (handled by formatter)
"RUF013", # implicit Optional
]
fixable = ["ALL"]
[tool.ruff.lint.isort]
split-on-trailing-comma = false
[tool.ruff.lint.per-file-ignores]
"*.ipynb" = ["E402"] # allow imports not at top in notebooks