-
Notifications
You must be signed in to change notification settings - Fork 43
/
pyproject.toml
103 lines (92 loc) · 1.99 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
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
[build-system]
requires = ["setuptools", "wheel"]
build-backend = "setuptools.build_meta"
[tool.distutils.bdist_wheel]
universal = "true"
[tool.bandit]
# B101 tests the use of assert
# B301 and B403 test the use of pickle
skips = ["B101", "B301", "B403"]
exclude_dirs = ["tests", ".tox", ".venv"]
[tool.pytest.ini_options]
addopts = [
"-v",
"-x",
"--color=yes",
"--cov-report=term-missing",
"--cov=gflownet",
"--typeguard-packages=ml_kit,tests"
]
testpaths = ["tests"]
pythonpath = "src/"
[tool.mypy]
ignore_missing_imports = true
show_error_codes = true
show_error_context = true
show_traceback = true
strict = false
strict_optional = false
implicit_reexport = true
allow_redefinition = true
files = "src"
[[tool.mypy.overrides]]
module = "tests.*"
allow_untyped_defs = true
allow_incomplete_defs = true
[tool.isort]
profile = "black"
py_version = "auto"
line_length = 120
[tool.black]
line-length = 120
target-version = ["py310"]
[project]
name = "gflownet"
readme = "README.md"
classifiers = ["Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 3"]
keywords = ["gflownet"]
requires-python = ">=3.10,<3.11"
dynamic = ["version"]
dependencies = [
"torch==2.1.2",
"torch-geometric==2.4.0",
"torch-scatter==2.1.2",
"torch-sparse==0.6.18",
"torch-cluster==1.6.3",
"rdkit",
"tables",
"scipy",
"networkx",
"tensorboard",
"cvxopt",
"pyarrow",
"gitpython",
"botorch",
"pyro-ppl",
"gpytorch",
"omegaconf>=2.3",
"wandb",
"pandas", # needed for QM9 and HDF5 support.
]
[project.optional-dependencies]
dev = [
"bandit[toml]",
"black",
"isort",
"mypy",
"pip-compile-cross-platform",
"pre-commit",
"pytest",
"pytest-cov",
"ruff",
"tox",
"typeguard",
"types-pkg_resources",
# Security pin
"gitpython>=3.1.30",
]
[[project.authors]]
name = "Recursion Pharmaceuticals"
email = "devs@recursionpharma.com"
[tool.ruff]
line-length = 120