-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
100 lines (91 loc) · 2.16 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
95
96
97
98
99
100
[build-system]
build-backend = "flit_core.buildapi"
requires = [
"flit_core >=3.4,<4",
"importlib_metadata>=0.7; python_version < '3.8'",
]
[project]
name = "mubind"
description = "ML for biomolecular binding"
authors = [
{name = "Ignacio Ibarra"},
]
maintainers = [
{name = "Ignacio Ibarra", email = "[email protected]"},
{name = "Johanna Schneeberger", email = "[email protected]"},
]
urls.Documentation = "https://mubind.readthedocs.io/"
urls.Source = "https://github.com/theislab/mubind"
urls.Home-page = "https://github.com/theislab/mubind"
version = "0.2.2"
requires-python = ">=3.9" # for GPU-rapids
license = {file = "LICENSE"}
readme = "README.md"
dependencies = ["seaborn", "scikit-learn", "pandas", "unidecode", "matplotlib", "scipy==1.13.1", "numpy>=1.22", "torch",
"logomaker", "biopython", "numba", "pytest", "pytest-cov", "openpyxl", "tqdm", "scanpy"]
[project.optional-dependencies]
dev = [
# dev version generation
"bump2version",
]
doc = [
"ipython",
"ipywidgets>=8.0.0",
"sphinx>=5.3",
"sphinx-autodoc-annotation",
"sphinx-autodoc-typehints>=1.10.3",
"sphinx-gallery",
"sphinx_rtd_theme",
"sphinxcontrib-bibtex>=2.3.0",
"sphinxcontrib-spelling>=7.6.2",
"nbsphinx>=0.8.1",
"myst-nb>=0.17.1",
"sphinx_copybutton>=0.5.0",
"scanpydoc",
]
test = [
"pytest",
"pytest-cov",
]
[tool.coverage.run]
source = ["mubind"]
omit = [
"**/test_*.py",
]
[tool.pytest.ini_options]
testpaths = ["tests"]
xfail_strict = true
addopts = [
"-Werror", # if 3rd party libs raise DeprecationWarnings, just use filterwarnings below
"--import-mode=importlib", # allow using test files with same name
]
filterwarnings = [
"ignore:.*U.*mode is deprecated:DeprecationWarning",
]
[tool.isort]
include_trailing_comma = true
multi_line_output = 3
profile = "black"
skip_glob = ["docs/*"]
[tool.black]
line-length = 120
target-version = ['py38']
include = '\.pyi?$'
exclude = '''
(
/(
\.eggs
| \.git
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| _build
| buck-out
| build
| dist
)/
)
'''
[tool.jupytext]
formats = "ipynb,md"