-
Notifications
You must be signed in to change notification settings - Fork 25
/
Copy pathpyproject.toml
38 lines (31 loc) · 1009 Bytes
/
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
[build-system]
requires = [
"pybind11[global]>=2.10.0",
"setuptools>=70.1", # `setuptools.command.bdist_wheel`
"cmake>=3.21",
]
build-backend = "setuptools.build_meta"
[tool.mypy]
show_error_codes = true
ignore_missing_imports = true
warn_unreachable = true
strict = true
python_version = 3.9
[[tool.mypy.overrides]]
module = "tiledbsoma._query_condition"
ignore_errors = true
[tool.ruff]
lint.ignore = ["E501"] # line too long
lint.extend-select = ["I001"] # unsorted-imports
fix = true
exclude = ["*.cc"]
target-version = "py39"
[tool.ruff.lint.isort]
# HACK: tiledb needs to come after tiledbsoma: https://github.com/single-cell-data/TileDB-SOMA/issues/2293
section-order = ["future", "standard-library", "third-party", "tiledbsoma", "tiledb", "first-party", "local-folder"]
no-lines-before = ["tiledb"]
[tool.ruff.lint.isort.sections]
"tiledbsoma" = ["tiledbsoma"]
"tiledb" = ["tiledb"]
[tool.pytest.ini_options]
filterwarnings = ['ignore:Support for spatial types is experimental']