-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
83 lines (75 loc) · 1.83 KB
/
Copy pathpyproject.toml
File metadata and controls
83 lines (75 loc) · 1.83 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
[project]
name = "lance-array"
version = "0.1.0"
description = "Chunk-aligned Lance tile arrays and Zarr vs Lance benchmarks"
readme = "README.md"
license = { text = "Apache-2.0" }
requires-python = ">=3.10,<3.14"
dependencies = [
"numpy>=1.24.0",
"pylance>=2.0.0",
"pyarrow>=14.0.0",
"numcodecs>=0.12.0",
]
[project.optional-dependencies]
cloud = [
"smart-open[s3]>=6.0.0",
"s3fs>=2024.1.0",
]
zarr = [
"zarr>=2.18.0",
"blosc2>=3.0.0",
"pillow>=10.0.0",
"tqdm>=4.0.0",
"rich>=13.0.0",
# Rust-backed codec pipeline for zarr-python 3.x (LocalStore); Python 3.11+ only
"zarrs>=0.2.0; python_version >= '3.11'",
]
dev = [
"pytest>=8.0.0",
"pytest-cov>=6.2.0",
"coverage>=7.9.1",
"ruff>=0.12.0",
"prek>=0.3.0",
"rich>=13.0.0",
"smart-open[s3]>=6.0.0",
"ty>=0.0.20",
"matplotlib>=3.8.0",
]
docs = [
"mkdocs>=1.5.0",
"mkdocs-material>=9.5.0",
"mkdocstrings[python]>=0.24.0",
"mkdocs-autorefs>=1.0.0",
]
modal = [
"modal>=0.64.0",
]
[build-system]
requires = ["setuptools>=61.0"]
build-backend = "setuptools.build_meta"
[tool.setuptools]
packages = ["lance_array"]
[tool.ruff]
target-version = "py312"
line-length = 88
[tool.ruff.lint]
select = ["E", "W", "F", "I", "B", "C4", "UP"]
ignore = ["E501", "B008", "C901"]
[tool.ruff.lint.per-file-ignores]
"__init__.py" = ["F401"]
"scripts/create_benchmark_datasets.py" = ["E402"]
"scripts/run_benchmark.py" = ["E402", "I001"]
"scripts/run_slice_scaling_benchmark.py" = ["E402", "I001"]
"scripts/render_benchmark_charts.py" = ["E402", "I001"]
"modal_app.py" = ["I001"]
[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = "test_*.py"
python_functions = "test_*"
addopts = "-v --tb=short"
markers = [
"unit: unit tests",
"integration: integration tests",
"e2e: end-to-end tests (real storage/format)",
]