forked from greenelab/fm-pm-evaluator
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
76 lines (66 loc) · 1.56 KB
/
Copy pathpyproject.toml
File metadata and controls
76 lines (66 loc) · 1.56 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
[project]
name = "fmharness"
version = "0.1.0.dev0"
description = "Foundation-model evaluation harness for patient-derived tumor organoid drug response"
authors = [{ name = "Lucas Gillenwater", email = "lucas.gillenwater@cuanschutz.edu" }]
license = { text = "BSD-2-Clause-Patent" }
readme = "README.md"
requires-python = ">=3.11"
dependencies = [
"pydantic>=2.7",
"pydantic-settings>=2.2",
"numpy>=1.26",
"pandas>=2.2",
"pyarrow>=15.0",
"anndata>=0.10",
"scanpy>=1.10",
"scikit-learn>=1.5",
"scipy>=1.13",
"joblib>=1.4",
"typer>=0.12",
"pydeseq2>=0.4",
"openpyxl>=3.1",
]
[project.optional-dependencies]
ml = [
"torch>=2.2",
"transformers>=4.40",
]
stack = [
"arc-stack @ git+https://github.com/ArcInstitute/stack.git",
]
dev = [
"pytest>=8.0",
"pytest-cov>=5.0",
"hypothesis>=6.100",
"ruff>=0.4",
"pyright>=1.1.360",
"pre-commit>=3.7",
]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.metadata]
allow-direct-references = true
[tool.hatch.build.targets.wheel]
packages = ["src/fmharness"]
[tool.uv]
package = true
[tool.ruff]
line-length = 100
target-version = "py311"
src = ["src", "tests"]
[tool.ruff.lint]
select = ["E", "F", "I", "B", "UP", "SIM", "RUF"]
[tool.ruff.lint.per-file-ignores]
"tests/**" = ["E501"]
[tool.pyright]
pythonVersion = "3.11"
typeCheckingMode = "strict"
include = ["src", "tests"]
strictListInference = true
strictDictionaryInference = true
strictSetInference = true
[tool.pytest.ini_options]
testpaths = ["tests"]
addopts = "-ra -q"