-
Notifications
You must be signed in to change notification settings - Fork 19
/
Copy pathpyproject.toml
103 lines (91 loc) · 2.26 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
101
102
103
[build-system]
build-backend = "hatchling.build"
requires = ["hatchling", "hatch-vcs"]
[project]
name = "mudata"
description = "Multimodal data"
requires-python = ">= 3.10"
license = "BSD-3-Clause"
authors = [
{ name = "Danila Bredikhin" },
]
maintainers = [
{ name = "Danila Bredikhin", email = "danila@stanford.edu" },
]
readme = "README.md"
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
"Development Status :: 3 - Alpha",
"Topic :: Scientific/Engineering :: Bio-Informatics",
"Intended Audience :: Science/Research"
]
dependencies = [
"anndata >= 0.10.8",
]
dynamic = ["version"]
[project.urls]
Documentation = "https://muon.readthedocs.io/en/latest/"
Source = "https://github.com/scverse/mudata"
Home-page = "https://muon.scverse.org/"
[project.optional-dependencies]
dev = [
"setuptools_scm",
]
docs = [
"sphinx",
"sphinx-book-theme",
"pydata-sphinx-theme",
"readthedocs-sphinx-search",
"nbsphinx",
"sphinx_automodapi",
"recommonmark"
]
test = [
"zarr",
"pytest"
]
[tool.pytest.ini_options]
python_files = "test_*.py"
testpaths = [
"./tests", # unit tests
]
[tool.black]
line-length = 100
target-version = ['py39']
[tool.hatch.version]
source = "vcs"
[tool.hatch.build.hooks.vcs]
version-file = "src/mudata/_version.py"
[tool.hatch.build.targets.wheel]
packages = ["src/mudata"]
[tool.hatch.build.targets.sdist]
exclude = [
"/.github",
"/docs",
]
[tool.ruff]
src = ["src"]
[tool.ruff.format]
docstring-code-format = true
[tool.ruff.lint]
select = [
"E", # Error detected by Pycodestyle
"F", # Errors detected by Pyflakes
"W", # Warning detected by Pycodestyle
"UP", # pyupgrade
"I", # isort
"TCH", # manage type checking blocks
"ICN", # Follow import conventions
"PTH", # Pathlib instead of os.path
"PT", # Pytest conventions
]
ignore = [
# line too long -> we accept long comment lines; formatter gets rid of long code lines
"E501",
# Do not assign a lambda expression, use a def -> AnnData allows lambda expression assignments,
"E731",
# allow I, O, l as variable names -> I is the identity matrix, i, j, k, l is reasonable indexing notation
"E741",
]