-
Notifications
You must be signed in to change notification settings - Fork 12
/
pyproject.toml
94 lines (86 loc) · 2.49 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
85
86
87
88
89
90
91
92
93
94
[tool.poetry]
name = "ktplotspy"
version = "0.2.6"
description = "Python library for plotting Cellphonedb results. Ported from ktplots R package."
authors = ["Kelvin Tuong <[email protected]>"]
license = "MIT"
classifiers = [
'License :: OSI Approved :: MIT License',
'Intended Audience :: Developers',
'Intended Audience :: Science/Research',
'Programming Language :: Python :: 3',
]
homepage = "https://github.com/zktuong/ktplotspy"
repository = "https://github.com/zktuong/ktplotspy"
keywords = [
"cellphonedb",
"cpdb",
"plot_cpdb",
"ktplots",
"ligand-receptor",
"interaction",
]
readme = "README.rst"
include = ["LICENSE"]
[tool.poetry.dependencies]
python = ">=3.10"
pandas = ">=1.5,<3.0"
numpy = "<=2.2.0"
plotnine = "<=0.12.4"
seaborn = ">=0.12,<0.14"
requests = ">=2.28.0"
python-circos = ">=0.3.0"
setuptools = "*"
anndata = { optional = true, version = ">=0.7.6,<0.11.2" }
black = { optional = true, version = "*" }
pytest-cov = { optional = true, version = "*" }
sphinx = { optional = true, version = "<9" } # see issue at https://github.com/readthedocs/readthedocs.org/issues/10279
nbsphinx = { optional = true, version = "<=0.9.5" }
sphinx-autodoc-typehints = { optional = true, version = "<=2.5.0" }
sphinx_rtd_theme = { optional = true, version = "<=3.0.2" }
readthedocs-sphinx-ext = { optional = true, version = "<=2.2.5" }
recommonmark = { optional = true, version = "<=0.7.1" }
[tool.poetry.dev-dependencies]
[tool.poetry.extras]
test = ["anndata", "black", "pytest-cov"]
docs = [
"sphinx",
"nbsphinx",
"sphinx-autodoc-typehints",
"sphinx_rtd_theme",
"readthedocs-sphinx-ext",
"recommonmark",
]
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
# Configuration for pytest
[tool.pytest.ini_options]
filterwarnings = [
"ignore::DeprecationWarning",
"ignore::plotnine.exceptions.PlotnineWarning",
]
testpaths = ["tests"]
addopts = """\
--cov ktplotspy \
--cov-report=xml
"""
# Configuration for the interrogate tool which checks docstring coverage
[tool.interrogate]
ignore-init-method = true
ignore-init-module = true
ignore-magic = true
ignore-semiprivate = false
ignore-private = false
ignore-property-decorators = false
ignore-module = true
fail-under = 100.0
ignore-regex = ["^get$", "^mock_.*", ".*BaseClass.*"]
verbose = 1
quiet = false
whitelist-regex = []
color = true
exclude = ["test", "docs"]
[tool.black]
line-length = 140
include = '\.pyi?$'