-
Notifications
You must be signed in to change notification settings - Fork 123
/
pyproject.toml
78 lines (71 loc) · 2.11 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
[build-system]
requires = ["setuptools >= 61.0"]
build-backend = "setuptools.build_meta"
[project]
name = "boltz"
version = "0.2.1"
requires-python = ">=3.9"
description = "Boltz-1"
readme = "README.md"
dependencies = [
"torch>=2.2",
"numpy==1.26.3",
"hydra-core==1.3.2",
"pytorch-lightning==2.4.0",
"rdkit>=2024.3.2",
"dm-tree==0.1.8",
"requests==2.32.3",
"pandas==2.2.3",
"types-requests",
"einops==0.8.0",
"einx==0.3.0",
"fairscale==0.4.13",
"mashumaro==3.14",
"modelcif==1.2",
"wandb==0.18.7",
"click==8.1.7",
"pyyaml==6.0.2",
"biopython==1.84",
"scipy==1.13.1",
]
[project.scripts]
boltz = "boltz.main:cli"
[project.optional-dependencies]
lint = ["ruff"]
[tool.ruff]
src = ["src"]
extend-exclude = ["conf.py"]
target-version = "py39"
lint.select = ["ALL"]
lint.ignore = [
"COM812", # Conflicts with the formatter
"ISC001", # Conflicts with the formatter
"ANN101", # "missing-type-self"
"RET504", # Unnecessary assignment to `x` before `return` statementRuff
"S101", # Use of `assert` detected
"D100", # Missing docstring in public module
"D104", # Missing docstring in public package
"PT001", # https://github.com/astral-sh/ruff/issues/8796#issuecomment-1825907715
"PT004", # https://github.com/astral-sh/ruff/issues/8796#issuecomment-1825907715
"PT005", # https://github.com/astral-sh/ruff/issues/8796#issuecomment-1825907715
"PT023", # https://github.com/astral-sh/ruff/issues/8796#issuecomment-1825907715
"FBT001",
"FBT002",
"PLR0913", # Too many arguments to init (> 5)
]
[tool.ruff.lint.per-file-ignores]
"**/__init__.py" = [
"F401", # Imported but unused
"F403", # Wildcard imports
]
"docs/**" = [
"INP001", # Requires __init__.py but folder is not a package.
]
"scripts/**" = [
"INP001", # Requires __init__.py but folder is not a package.
]
[tool.ruff.lint.pyupgrade]
# Preserve types, even if a file imports `from __future__ import annotations`(https://github.com/astral-sh/ruff/issues/5434)
keep-runtime-typing = true
[tool.ruff.lint.pydocstyle]
convention = "numpy"