Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
142 lines (128 loc) · 3.85 KB
/
Copy pathpyproject.toml
File metadata and controls
142 lines (128 loc) · 3.85 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
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
[build-system]
requires = ["setuptools==83.0.0"]
build-backend = "setuptools.build_meta"
[project]
name = "cellucid"
version = "0.9.2" # CELLUCID_VERSION
description = "Interactive Single-Cell Data Visualization"
readme = "README.md"
requires-python = ">=3.11,<3.15"
license = "BSD-3-Clause"
license-files = ["LICENSE"]
authors = [
{ name = "Kemal Inecik", email = "k.inecik@gmail.com" },
]
maintainers = [
{ name = "Kemal Inecik", email = "k.inecik@gmail.com" },
]
keywords = [
"single-cell",
"visualization",
"umap",
"3d",
"webgl",
"scRNA-seq",
"bioinformatics",
"anndata",
"jupyter",
]
dependencies = [
"numpy>=1.26,<3",
"pandas>=2.1.0,!=2.1.2,<3",
"scipy>=1.12,!=1.17.0,<2",
"tqdm>=4.45",
"anndata>=0.12.19,<0.13",
"zarr>=3.1.4,<4",
"numcodecs>=0.16.3,<0.17",
"ipython>=7.23",
"jupyter-server-proxy>=4.1",
]
classifiers = [
"Development Status :: 4 - Beta",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Operating System :: OS Independent",
"Intended Audience :: Science/Research",
"Topic :: Scientific/Engineering :: Visualization",
"Topic :: Scientific/Engineering :: Bio-Informatics",
"Typing :: Typed",
"Framework :: Jupyter",
]
[project.optional-dependencies]
dev = [
"pytest>=7.0",
"pytest-cov>=4.0",
# Linters are pinned to an exact version, and the docs extra already pins
# Sphinx the same way. A floor lets CI install whatever shipped that morning,
# and every ruff release adds rules: the gate then turns red on a commit that
# changed nothing, which teaches maintainers that red means "ignore me".
# Bumping these is a deliberate commit that fixes what the new version finds.
"ruff==0.16.1",
"mypy==2.3.0",
"pre-commit>=3.0",
]
docs = [
"sphinx>=7.2,<8.1",
"myst-nb>=1.1.0",
"sphinx-autodoc-typehints>=1.25",
"pydata-sphinx-theme>=0.15",
"sphinx-design>=0.5",
"sphinx-copybutton>=0.5",
]
[project.scripts]
# Main unified CLI entry point
cellucid = "cellucid.cli:main"
[project.urls]
Homepage = "https://github.com/theislab/cellucid-python"
Repository = "https://github.com/theislab/cellucid-python"
Documentation = "https://cellucid.readthedocs.io"
Issues = "https://github.com/theislab/cellucid-python/issues"
Changelog = "https://github.com/theislab/cellucid-python/blob/main/CHANGELOG.md"
Contributing = "https://github.com/theislab/cellucid-python/blob/main/CONTRIBUTING.md"
"Code of Conduct" = "https://github.com/theislab/cellucid-python/blob/main/CODE_OF_CONDUCT.md"
"Security Policy" = "https://github.com/theislab/cellucid-python/blob/main/SECURITY.md"
Support = "https://github.com/theislab/cellucid-python/blob/main/SUPPORT.md"
Citation = "https://github.com/theislab/cellucid-python/blob/main/CITATION.cff"
[tool.setuptools.packages.find]
where = ["src"]
[tool.setuptools.package-data]
cellucid = ["py.typed"]
[tool.ruff]
line-length = 100
target-version = "py311"
src = ["src"]
[tool.ruff.lint]
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # pyflakes
"I", # isort
"UP", # pyupgrade
"B", # flake8-bugbear
"SIM", # flake8-simplify
]
ignore = [
"E501", # line too long (handled by formatter)
]
[tool.ruff.lint.isort]
known-first-party = ["cellucid"]
[tool.pytest.ini_options]
testpaths = ["tests"]
addopts = "-v --tb=short"
[tool.mypy]
warn_return_any = true
warn_unused_configs = true
ignore_missing_imports = true
[tool.coverage.run]
source = ["src/cellucid"]
branch = true
[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"if TYPE_CHECKING:",
"raise NotImplementedError",
]