-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
96 lines (84 loc) · 1.84 KB
/
pyproject.toml
File metadata and controls
96 lines (84 loc) · 1.84 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
91
92
93
94
95
96
[build-system]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"
[project]
name = "xenium_analysis_tools"
description = "Generated from aind-library-template"
license = {text = "MIT"}
requires-python = ">=3.11"
authors = [
{name = "Allen Institute for Neural Dynamics"}
]
classifiers = [
"Programming Language :: Python :: 3"
]
readme = "README.md"
dynamic = ["version"]
dependencies = [
"pyarrow>=21.0.0",
"scanpy>=1.11.5",
"spatialdata>=0.6.1",
"spatialdata-plot",
"spatialdata-io",
"numpy",
"pandas"
]
[project.optional-dependencies]
mapping = [
"cell-type-mapper @ git+https://github.com/AllenInstitute/cell_type_mapper.git@c8ee12659c4b8a8e260b091ce1aa0a145088ede5"
]
napari = [
"napari-spatialdata @ git+https://github.com/scverse/napari-spatialdata#egg=napari-spatialdata"
]
[dependency-groups]
dev = [
"black",
"coverage",
"flake8",
"interrogate",
"isort",
"Sphinx",
"furo",
]
[tool.setuptools.packages.find]
where = ["src"]
[tool.setuptools.dynamic]
version = {attr = "xenium_analysis_tools.__version__"}
[tool.black]
line-length = 79
target_version = ['py310']
exclude = '''
(
/(
\.eggs # exclude a few common directories in the
| \.git # root of the project
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| _build
| build
| dist
| .conda
)/
| .gitignore
)
'''
[tool.coverage.run]
omit = ["*__init__*"]
source = ["xenium_analysis_tools", "tests"]
[tool.coverage.report]
exclude_lines = [
"if __name__ == .__main__.:",
"^from .* import .*",
"^import .*",
"pragma: no cover"
]
fail_under = 0 # Changed from 100
[tool.isort]
line_length = 79
profile = "black"
skip = [".conda"]
[tool.interrogate]
exclude = ["setup.py", "docs", "build", ".conda"]
fail-under = 0 # Changed from 100