-
Notifications
You must be signed in to change notification settings - Fork 2
/
pyproject.toml
84 lines (72 loc) · 2.19 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
72
73
74
75
76
77
78
79
80
81
82
83
84
[project]
name = "tiledb-cloud"
description = "TileDB Cloud platform Python client"
readme = "./README.md"
dynamic = ["version"]
requires-python = ">=3.8"
dependencies = [
"anndata",
"attrs>=21.4.0",
"certifi",
"cloudpickle>=1.4.1,<3",
"importlib-metadata",
"packaging",
"pandas>=1.2.4",
"pyarrow>=3.0.0",
"python-dateutil",
"six>=1.10",
# Not directly used on the client, but some server-side environments have
# tblib transitively enabled, so this is needed for unpickling.
"tblib~=1.7",
"tiledb>=0.15.2",
"typing-extensions",
"urllib3>=1.26",
]
[project.optional-dependencies]
viz-tiledb = ["networkx>=2", "pydot<3", "tiledb-plot-widget>=0.1.7"]
viz-plotly = ["networkx>=2", "plotly>=4", "pydot<3"]
all = ["networkx>=2", "plotly>=4", "pydot<3", "tiledb-plot-widget>=0.1.7"]
life-sciences = ["tiledbsoma"]
docs = ["quartodoc"]
dev = ["black", "pytest", "ruff"]
tests = [
"xarray",
"pytest-cov",
"pytest-explicit",
"pytest-split",
"tiledbsoma",
]
[project.urls]
homepage = "https://tiledb.com"
repository = "https://github.com/TileDB-Inc/TileDB-Cloud-Py"
[build-system]
requires = ["setuptools>=42", "wheel", "setuptools_scm>=6"]
[tool.pytest.ini_options]
explicit-only = ["bigfiles", "geospatial", "vcf"]
markers = [
"bigfiles: tests that create and upload really big files",
"geospatial: tests that require the geospatial libraries",
"vcf: VCF tests that run on TileDB Cloud",
]
norecursedirs = ["tiledb/cloud"]
[tool.setuptools]
zip-safe = false
[tool.setuptools.packages.find]
where = ["src"]
[tool.setuptools_scm]
write_to = "src/tiledb/cloud/version.py"
[tool.ruff]
extend-select = ["I"]
[tool.ruff.isort]
known-first-party = ["tiledb"]
force-single-line = true
single-line-exclusions = ["typing", "typing_extensions"]
[tool.ruff.per-file-ignores]
# Generated files have long line lengths.
"src/tiledb/cloud/_common/api_v2/*" = ["E501"]
"src/tiledb/cloud/rest_api/*" = ["E501"]
# This file includes generated Python 2 code with `long`.
"src/tiledb/cloud/rest_api/rest.py" = ["F821"]
# Certain tests have long JSON strings and deep structures.
"tests/taskgraphs/test_builder.py" = ["E501"]
"tests/test_geospatial.py" = ["E501"]