-
Notifications
You must be signed in to change notification settings - Fork 74
Expand file tree
/
Copy pathpyproject.toml
More file actions
49 lines (42 loc) · 1.04 KB
/
Copy pathpyproject.toml
File metadata and controls
49 lines (42 loc) · 1.04 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
[build-system]
requires = ["setuptools>=61.0"]
build-backend = "setuptools.build_meta"
[project]
name = "prog"
version = "0.1.0"
description = "ProG: A Unified Library for Graph Prompt Learning"
requires-python = ">=3.9"
dependencies = [
"torch>=1.13,<3",
"torch_geometric",
"ogb",
"pandas",
"openpyxl",
"scikit-learn",
"torchmetrics",
"networkx",
"numpy<2",
"deprecated",
"tqdm",
"pyyaml",
]
[project.optional-dependencies]
dev = ["pytest", "ruff", "pre-commit", "mypy"]
ogb = ["ogb", "outdated"]
[tool.ruff]
line-length = 100
target-version = "py39"
[tool.ruff.lint]
select = ["E", "W", "F", "I", "UP"]
ignore = ["E501"]
[tool.ruff.format]
[tool.pytest.ini_options]
markers = [
"slow: opt-in tests that take >30s per case (RL loops, heavy benchmarks). Run via `pytest -m slow`.",
]
# Exclude slow tests by default. Override with ``pytest -m slow`` or
# ``pytest -m 'slow or not slow'`` to include them.
addopts = "-m 'not slow'"
[tool.setuptools.packages.find]
where = ["."]
include = ["prompt_graph*"]