forked from scverse/rapids_singlecell
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
97 lines (89 loc) · 2.36 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
[build-system]
requires = ["hatchling", "hatch-vcs"]
build-backend = "hatchling.build"
[project]
name = "rapids_singlecell"
description = "running single cell analysis on Nvidia GPUs"
requires-python = ">=3.8"
license = {file = "LICENSE"}
authors = [{name = "Severin Dicks"}]
readme = {file = "README.md", content-type="text/markdown"}
dynamic = ["version"]
dependencies = [
"anndata>=0.10.0",
"scanpy>=1.9.3",
"numpy>=1.17.0",
"decoupler>=1.3.2",
"scipy>=1.4",
"pandas>=1.0",
"natsort",
"scikit-misc>=0.1.3",
"matplotlib>=3.4",
"seaborn",
"tqdm",
"statsmodels>=0.12.0",
]
[project.optional-dependencies]
rapids11 = ["cudf-cu11", "cuml-cu11", "cugraph-cu11"]
rapids12 = ["cudf-cu12", "cuml-cu12", "cugraph-cu12"]
doc = [
"sphinx>=4.5.0",
"sphinx-copybutton",
"nbsphinx>=0.8.12",
"myst-nb",
"scanpydoc[typehints,theme]>=0.9.4",
"readthedocs-sphinx-ext",
"sphinx_copybutton",
]
test = [
"pytest",
"omnipath",
"profimp",
]
[project.urls]
Documentation = "https://rapids-singlecell.readthedocs.io"
Source = "https://github.com/scverse/rapids_singlecell"
[tool.ruff]
src = ["rapids_singlecell"]
exclude = ["tests/"]
line-length = 88
select = [
"F", # Errors detected by Pyflakes
"E", # Error detected by Pycodestyle
"W", # Warning detected by Pycodestyle
"I", # isort
"TID", # flake8-tidy-imports
"C4", # flake8-comprehensions
"BLE", # flake8-blind-except
"UP", # pyupgrade
"TID251", # Banned imports
"RUF100", # Report unused noqa directives
]
ignore = [
# line too long -> we accept long comment lines; formatting gets rid of long code lines
"E501",
# Do not assign a lambda expression, use a def -> lambda expression assignments are convenient
"E731",
# allow I, O, l as variable names -> I is the identity matrix
"E741",
# Missing docstring in public package
"F403",
# First line should be in imperative mood; try rephrasing
]
[tool.ruff.per-file-ignores]
"docs/*" = ["I"]
"tests/*" = ["D"]
"*/__init__.py" = ["F401"]
[tool.hatch.build]
# exclude big files that don’t need to be installed
exclude = [
"tests",
"docs",
"notebooks"
]
[tool.hatch.build.hooks.vcs]
version-file = "src/rapids_singlecell/_version.py"
[tool.hatch.version]
source = "vcs"
[tool.hatch.build.targets.wheel]
packages = ['src/rapids_singlecell']