-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
57 lines (49 loc) · 1.49 KB
/
pyproject.toml
File metadata and controls
57 lines (49 loc) · 1.49 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
[build-system]
requires = ["setuptools>=61.0", "wheel", "setuptools-scm"]
build-backend = "setuptools.build_meta"
# Configuration for CLI scripts
# Script prefix is defined below as "adhesion_" and is automatically prepended to all script names
# To change the prefix, update the [project.scripts] section entries
[project]
name = "adhesion_predict"
description = "A bioinformatics package for predicting adhesion proteins using ESM-2 embeddings"
readme = "README.md"
requires-python = ">=3.9"
dependencies = [
"biopython>=1.81",
"numpy>=1.20",
"torch",
"fair-esm",
"scikit-learn",
"tqdm",
"torchvision",
"importlib-metadata; python_version<'3.8'",
]
license = { file = "LICENSE" }
dynamic = ["version"]
[project.scripts]
adhesion_predict = "adhesion_predict.scripts.predict:cli"
adhesion_train = "adhesion_predict.scripts.train:cli"
adhesion_evaluate = "adhesion_predict.scripts.evaluate:cli"
[project.optional-dependencies]
dev = [
"pytest",
"ruff",
"pre-commit",
]
[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = ["test_*.py"]
python_classes = ["Test*"]
python_functions = ["test_*"]
addopts = "-v --tb=short"
[tool.ruff]
line-length = 100
[tool.ruff.lint]
select = ["E", "F", "W", "I", "N", "UP", "B", "C4"]
ignore = ["E501", "N803", "N806", "N999"]
[tool.setuptools_scm]
# Use git tags for versioning
# Will create versions like: 1.2.3 (if on tag) or 1.2.3.dev4+g1234567 (if after tag)
version_scheme = "release-branch-semver"
local_scheme = "dirty-tag"