-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
101 lines (93 loc) · 2.62 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
[tool.poetry]
name = "novae"
version = "0.1.0"
description = "Graph-based foundation model for spatial transcriptomics data"
documentation = "https://mics-lab.github.io/novae/"
homepage = "https://mics-lab.github.io/novae/"
repository = "https://github.com/MICS-Lab/novae"
authors = ["Quentin Blampey <[email protected]>"]
packages = [{ include = "novae" }]
license = "BSD-3-Clause"
readme = "README.md"
classifiers = [
"License :: OSI Approved :: BSD License",
"Operating System :: MacOS :: MacOS X",
"Operating System :: POSIX :: Linux",
"Operating System :: Microsoft :: Windows",
"Programming Language :: Python :: 3",
"Topic :: Scientific/Engineering",
]
[tool.poetry.dependencies]
python = ">=3.9,<3.13"
scanpy = ">=1.9.8"
lightning = ">=2.2.1"
torch = ">=2.2.1"
torch-geometric = ">=2.5.2"
huggingface-hub = ">=0.24.0"
safetensors = ">=0.4.3"
wandb = { version = ">=0.17.2", optional = true }
black = { version = ">=22.8.0", optional = true }
flake8 = { version = ">=7.0.0", optional = true }
isort = { version = ">=5.10.1", optional = true }
pytest = { version = ">=7.1.3", optional = true }
pytest-cov = { version = ">=5.0.0", optional = true }
pyyaml = { version = ">=6.0.1", optional = true }
ipykernel = { version = ">=6.22.0", optional = true }
ipywidgets = { version = ">=8.1.2", optional = true }
mkdocs-material = { version = ">=8.5.6", optional = true }
mkdocs-jupyter = { version = ">=0.21.0", optional = true }
mkdocstrings = { version = ">=0.19.0", optional = true }
mkdocstrings-python = { version = ">=0.7.1", optional = true }
pydantic = { version = ">=2.8.2", optional = true }
pre-commit = { version = ">=3.8.0", optional = true }
griffe = { version = "<1.0.0", optional = true }
[tool.poetry.extras]
dev = [
"wandb",
"pytest-cov",
"pre-commit",
"coverage",
"black",
"pydantic",
"flake8",
"isort",
"pytest",
"pyyaml",
"ipykernel",
"ipywidgets",
"mkdocs-material",
"mkdocs-jupyter",
"mkdocstrings",
"mkdocstrings-python",
"griffe",
]
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = "test_*.py"
[tool.black]
line-length = 120
include = '\.pyi?$'
exclude = '''
/(
\.eggs # exclude a few common directories in the
| \.git # root of the project
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| _build
| buck-out
| build
| dist
)/
'''
[tool.isort]
profile = "black"
known_third_party = ["wandb"]
skip_glob = ["*/__init__.py"]
[tool.coverage.run]
source = ["novae"]
omit = ["**/test_*.py", "novae/monitor/log.py", "novae/monitor/callback.py"]