forked from samsledje/D-SCRIPT
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
108 lines (93 loc) · 1.82 KB
/
pyproject.toml
File metadata and controls
108 lines (93 loc) · 1.82 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
[build-system]
requires = ["uv_build>=0.9.15,<0.10.0"]
build-backend = "uv_build"
[project]
name = "dscript"
version = "0.3.1"
description = "D-SCRIPT: protein-protein interaction prediction"
authors = [
{name = "Samuel Sledzieski", email = "samsl@mit.edu"}
]
license = {text = "MIT"}
readme = "README.md"
requires-python = ">=3.10"
dependencies = [
"numpy",
"biotite==1.2.0",
"scipy",
"pandas",
"torch>=1.13",
"matplotlib",
"seaborn",
"tqdm",
"scikit-learn",
"h5py",
"huggingface_hub",
"safetensors",
"loguru",
]
[project.optional-dependencies]
test = [
"pytest",
"pytest-cov",
"ruff",
]
dev = [
"pytest",
"pytest-cov",
"ruff",
]
docs = [
"jinja2<3.1",
"Sphinx>=5.0",
"pydata-sphinx-theme>=0.16",
"sphinxcontrib-jsmath",
"sphinxcontrib-serializinghtml",
]
[project.urls]
Homepage = "http://dscript.csail.mit.edu"
[project.scripts]
dscript = "dscript.__main__:main"
[tool.uv]
package = true
[tool.uv.sources]
[tool.uv.build-backend]
module-name = "dscript"
module-root = ""
[tool.ruff]
line-length = 90
target-version = "py310"
[tool.ruff.lint]
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # pyflakes
"I", # isort
"UP", # pyupgrade
]
ignore = ["E501"]
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
skip-magic-trailing-comma = false
line-ending = "auto"
[tool.ruff.lint.isort]
known-first-party = ["dscript"]
[tool.coverage.paths]
source = ["dscript"]
[tool.coverage.run]
omit = ["dscript/tests/*"]
[tool.pytest.ini_options]
filterwarnings = [
"ignore::UserWarning",
"ignore::DeprecationWarning",
"ignore::PendingDeprecationWarning",
]
python_files = "test_*.py"
testpaths = [
"dscript/tests",
]
[dependency-groups]
docs = [
"pydata-sphinx-theme>=0.8.0",
]