-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
141 lines (133 loc) · 3.36 KB
/
Copy pathpyproject.toml
File metadata and controls
141 lines (133 loc) · 3.36 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
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
[build-system]
build-backend = "setuptools.build_meta"
requires = [ "cython>=3.0.12", "setuptools" ]
[project]
name = "scloop"
version = "0.1.28"
description = "single-cell loop analysis"
readme = "README.md"
authors = [
{ name = "Zhiyuan(Stan) Yu and Idse Heemskerk", email = "zyyu@umich.edu" },
]
requires-python = ">=3.12"
# tensorflow hasn't supported 3.13 yet
classifiers = [
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.12",
]
dependencies = [
"adjusttext>=1.4",
"cython>=3.0.12",
"glasbey==0.3",
"huggingface-hub",
"igraph>=0.11",
"kmapper>=2.1",
"loguru==0.7.3",
"mellon>=1.7.1",
"numba>=0.62.1",
"numpy<2",
"pandas<2",
"pip>=25.2",
"pydantic>=2.11.4",
"pygam>=0.12",
"pynndescent>=0.5.13",
"pytest>=8.4",
"pyyaml",
"rich==14.2",
"scanpy[leiden]>=1.11.2",
"scikit-misc>=0.5.2",
"statsmodels==0.14.4",
"tensorflow>=2.18.1",
"torch",
"torchdyn>=1.0.6",
"torchvision",
"tqdm-joblib>=0.0.5",
"umap-learn>=0.5.7",
]
urls.Issues = "https://github.com/stanfish06/scloop/issues"
urls.Repository = "https://github.com/stanfish06/scloop.git"
[dependency-groups]
dev = [
"fa2-modified>=0.4",
"jupyterlab>=4.6.1",
"magic-impute>=3",
"notebook>=7.6",
"phate>=2",
"pyright==1.1.406",
"ruff>=0.15.5",
"sctda>=0.97",
"scvi-tools>=1.4.1",
"ty>=0.0.1a34",
]
[tool.uv]
sources.torch = [
{ index = "pytorch-cu128", marker = "sys_platform == 'linux'" },
]
sources.torchvision = [
{ index = "pytorch-cu128", marker = "sys_platform == 'linux'" },
]
index = [ { name = "pytorch-cu128", url = "https://download.pytorch.org/whl/cu128", explicit = true } ]
extra-build-dependencies.pandas = [
"setuptools<81"
] # specify this if need to build <2.0.0 pandas (torch.load needs old pandas)
extra-build-dependencies.scloop = [ "Cython" ]
package = true
[tool.ruff]
format.indent-style = "space"
format.quote-style = "double"
lint.extend-select = [ "I" ]
lint.fixable = [ "ALL" ]
[tool.pyproject-fmt]
column_width = 120
indent = 2
keep_full_version = false
max_supported_python = "3.12"
[tool.pyrefly]
project-includes = [ "src" ]
project-excludes = [
"**/__pycache__",
"examples",
"**/*.pyx",
"**/*.pxd",
]
python-platform = "linux"
python-version = "3.12.0"
infer-with-first-use = false
# [tool.setuptools]
# package-dir = { "" = "src" }
# ext-modules = [
# { name = "scloop.data.ripser_lib", sources = [
# "./src/scloop/data/ripser_lib.pyx",
# "./src/scloop/data/ripser.cpp",
# ], language = "c++", optional = false },
# { name = "scloop.utils.linear_algebra_gf2.m4ri_lib", sources = [
# "./src/scloop/utils/linear_algebra_gf2/m4ri_lib.pyx",
# ], language = "c", optional = false, libraries = ["m4ri"], extra-objects = [
# "./src/scloop/utils/linear_algebra_gf2/libm4ri.a",
# ], include-dirs = [
# "./src/scloop/utils/linear_algebra_gf2/include",
# ] },
# ]
errors.untyped-import = "ignore"
errors.missing-import = "error"
sub-config = [ { matches = "src" } ]
# use 1.1.406 pyright or a version after 1.1.407 (does not work well with pydantic dataclass)
[tool.pyright]
include = [ "src" ]
exclude = [
"**/__pycache__",
"examples",
"**/*.pyx",
"**/*.pxd",
]
reportMissingImports = "error"
reportMissingTypeStubs = false
pythonVersion = "3.12"
pythonPlatform = "All"
executionEnvironments = [
{ root = "src" },
]
venvPath = "."
venv = ".venv"
[tool.ty]
src = { include = [ "src" ] }