-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
131 lines (123 loc) · 3.41 KB
/
pyproject.toml
File metadata and controls
131 lines (123 loc) · 3.41 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
[build-system]
requires = ["setuptools>=61.0", "wheel"]
build-backend = "setuptools.build_meta"
[tool.setuptools]
packages = {find = {exclude = ["tests*", "docs*", "examples*", "wheel_contents*"]}}
package-dir = {"" = "."}
package-data = {"kompot" = ["py.typed", "reporter/templates/*.html", "reporter/templates/css/*.css", "reporter/templates/js/*.js", "cli/templates/*.yaml"]}
include-package-data = false
[tool.pytest.ini_options]
testpaths = ["tests"]
# Coverage disabled by default for speed - enable with: pytest --cov=kompot
addopts = "-v --tb=short"
python_files = "test_*.py"
markers = [
"slow: marks tests as slow (deselect with '-m not slow')",
"integration: marks tests as integration tests (deselect with '-m not integration')",
"memory: marks tests that measure memory usage",
]
# Filter warnings to keep output clean
filterwarnings = [
"ignore::DeprecationWarning",
"ignore::PendingDeprecationWarning",
"ignore::FutureWarning",
"ignore:Transforming to str index:anndata._core.aligned_df.ImplicitModificationWarning",
"ignore:Series.__getitem__ treating keys as positions is deprecated:FutureWarning",
]
[tool.coverage.run]
omit = [
"kompot/anndata/_legacy_*.py",
"kompot/cli/__main__.py",
"kompot/cli/main.py",
"kompot/plot/stringdb.py",
"kompot/plot/volcano.py",
"kompot/plot/heatmap.py",
"kompot/plot/__init__.py",
"kompot/anndata/utils.py",
]
[tool.flake8]
max-line-length = 100
exclude = [".tox", "*.egg", "build", "temp"]
select = ["E", "W", "F"]
doctests = true
verbose = 2
ignore = ["E203", "W503"]
[project]
name = "kompot"
version = "0.7.0"
description = "Differential abundance and gene expression analysis using Mahalanobis distance with JAX backend"
readme = "README.md"
authors = [
{name = "Dominik Otto", email = "dotto@fredhutch.org"},
]
requires-python = ">=3.10"
license = "GPL-3.0-or-later"
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Science/Research",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Scientific/Engineering :: Bio-Informatics",
]
dependencies = [
"numpy>=1.20.0",
"scipy>=1.7.0",
"pandas>=1.3.0",
"scikit-learn>=1.0.0",
"jax>=0.3.0",
"jaxlib>=0.3.0",
"mellon>=1.7.1",
"matplotlib>=3.5.0",
"tqdm>=4.60.0",
"anndata>=0.8.0",
"pynndescent>=0.5.0",
"python-igraph>=0.10.0",
"psutil>=5.9.0",
"filelock>=3.12.0",
"pyyaml>=5.0.0",
]
[project.urls]
"Homepage" = "https://github.com/settylab/kompot"
"Documentation" = "https://kompot.readthedocs.io/"
"Bug Tracker" = "https://github.com/settylab/kompot/issues"
[project.scripts]
kompot = "kompot.cli:main"
[project.optional-dependencies]
docs = [
"sphinx>=7.0.0,<8.3.0",
"nbsphinx>=0.9.0",
"furo>=2024.0.0",
"sphinx-github-style>=1.2.0",
"lxml[html_clean]",
"IPython",
]
plot = [
"scanpy>=1.9.0",
"matplotlib>=3.5.0",
"requests>=2.28.0",
"IPython>=7.0.0",
"json5~=0.9.14",
]
recommended = [
"palantir>=1.0.0",
"dask>=2024.4.0",
]
dask = [
"dask>=2024.4.0",
]
dev = [
"pytest>=7.0.0",
"pytest-cov>=4.0.0",
]
all = [
"scanpy>=1.9.0",
"matplotlib>=3.5.0",
"requests>=2.28.0",
"IPython>=7.0.0",
"json5~=0.9.14",
"palantir>=1.0.0",
"dask>=2024.4.0",
]