forked from cody-mar10/protein_set_transformer
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpyproject.toml
71 lines (62 loc) · 1.87 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
[build-system]
requires = ["setuptools>=61.0"]
build-backend = "setuptools.build_meta"
[project]
name = "ptn-set-transformer"
version = "2.1.0"
authors = [{ name = "Cody Martin", email = "[email protected]" }]
description = "Training and inference on protein sets (genomes)"
readme = "README.md"
license = { file = "LICENSE" }
requires-python = ">=3.9,<3.12"
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
]
dependencies = [
"torch>=2",
"transformers>=4.28",
"lightning>=2",
"tables",
"torch_geometric",
"torch_scatter",
"numpy<2.0",
"more-itertools",
"lightning-cv[tune]>=1.0",
"optuna>=3.1",
"jsonargparse[signatures]>=4.35.1", # must have my PR merged
"einops",
"requests",
"tqdm",
"fair-esm==2.0.0",
"scikit-learn",
"typing-extensions>=4.11; python_version < '3.10'",
"attrs>=24.2",
"cattrs>=24.1",
]
[project.optional-dependencies]
test = ["pytest>=8.3", "pytest-cov"]
build = ["ruff", "mypy", "isort", "covdefaults"]
dev = ["ptn-set-transformer[build]", "ptn-set-transformer[test]"]
[project.scripts]
pst = "pst:main.main"
chtc-utils = "pst:utils.chtc.main.main"
[project.urls]
"Homepage" = "https://github.com/cody-mar10/protein_set_transformer"
"Bug Tracker" = "https://github.com/cody-mar10/protein_set_transformer/issues"
[tool.ruff]
src = ["src"]
line-length = 90
[tool.ruff.per-file-ignores]
"__init__.py" = ["F401"] # allow unused imports in `__init__.py`
[tool.ruff.lint.pydocstyle]
convention = "google"
[tool.coverage.run]
plugins = ["covdefaults"]
[tool.pytest.ini_options]
testpaths = ["tests/unit", "tests/integration"]
filterwarnings = [
# ignore lightning warnings since it is a 3rd party lib
"ignore:.*pkg_resources.declare_namespace",
"ignore:.*pkg_resources is deprecated:DeprecationWarning",
]