-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathpyproject.toml
More file actions
106 lines (96 loc) · 2.39 KB
/
pyproject.toml
File metadata and controls
106 lines (96 loc) · 2.39 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
[build-system]
requires = ["setuptools>=61.0", "setuptools_scm>=6.2"]
build-backend = "setuptools.build_meta"
[project]
name = "paste3"
authors = [
{name="Max Land", email="max.ruikang.land@gmail.com"}
]
description = "A computational method to align and integrate spatial transcriptomics experiments."
readme = "README.md"
requires-python = ">=3.12"
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
"Framework :: Napari",
]
dependencies = [
"anndata",
"scanpy",
"POT>=0.9.5",
"numpy",
"scipy",
"scikit-learn",
"IPython",
"statsmodels",
"torch",
"torchnmf",
"pooch"
]
dynamic = ["version"]
[project.scripts]
paste = "paste3.__main__:main"
[project.optional-dependencies]
dev = [
"build",
"pytest",
"pytest-xdist",
"coverage",
"coveralls",
"ruff",
"pre-commit",
"napari",
"pytest-qt",
"PyQt5"
]
docs = [
"sphinx",
"myst-parser",
"sphinx-autodoc-typehints",
"nbsphinx",
"sphinx-gallery",
"sphinx-rtd-theme",
"sphinx-autodoc-annotation",
"jupyterlab",
"plotly",
]
[project.entry-points."napari.manifest"]
paste3 = "paste3.napari:napari.yaml"
[tool.setuptools]
package-dir = {"" = "src"}
[tool.pytest.ini_options]
testpaths = ["tests"]
addopts = "-sv"
[tool.ruff.lint]
extend-select = [
"B", # flake8-bugbear
"I", # isort
"ARG", # flake8-unused-arguments
"C4", # flake8-comprehensions
"EM", # flake8-errmsg
"ICN", # flake8-import-conventions
"PGH", # pygrep-hooks
"PIE", # flake8-pie
"PL", # pylint
"PT", # flake8-pytest-style
"PTH", # flake8-use-pathlib
"RET", # flake8-return
"RUF", # Ruff-specific
"SIM", # flake8-simplify
"TID251", # flake8-tidy-imports.banned-api
"T20", # flake8-print
"UP", # pyupgrade
"YTT", # flake8-2020
]
ignore = [
# Issues that need longer to sort out
"PLR0913", # too many arguments to a function
"PLR0915", # too many statements
"PLR0912", # too many branches
"PLR2004", # Magic values used in pytests
"EM101", # Exceptions using string literals
"EM102", # Exceptions using f-strings
]
[tool.ruff.lint.per-file-ignores]
"*.ipynb" = ["T201"] # `print` in notebooks