-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
79 lines (69 loc) · 1.65 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
[build-system]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"
[tool.ruff.format]
exclude = ["third_party"]
[tool.ruff]
line-length = 127
target-version = "py310"
exclude = [
"third_party",
"cleanba/legacy_scripts",
]
[tool.ruff.isort]
known-third-party = ["wandb"]
[tool.ruff.lint]
# Enable the isort rules.
extend-select = ["I"]
[tool.pytest.ini_options]
testpaths = ["tests"] # ignore third_party dir for now
markers = [
"slow",
"envpool: tests that use Envpool and thus won't run on Mac",
]
[tool.pyright]
exclude = [
"wandb/**", # Saved old codes
"third_party/**", # Other libraries
]
reportPrivateImportUsage = "warning"
[project]
name = "train-learned-planner"
version = "1.0.0"
description = "Code for training a DRC planner on Sokoban"
authors = [
{name="Adrià Garriga-Alonso", email="[email protected]"},
{name="Mohammad Taufeeque", email="[email protected]"},
{name="Costa Huang", email="[email protected]"},
]
readme = "README.md"
dependencies = [
"rich ~= 13.7",
"tensorboard ~=2.12.0",
"flax ~=0.8.0",
"optax ~=0.1.4",
"huggingface-hub ~=0.23.4",
"wandb ~=0.17.4",
"tensorboardx ~=2.6",
"chex ~= 0.1.5",
"gym ~= 0.23.1",
"opencv-python ~=4.7.0.68",
"moviepy ~=1.0.3",
"rlax ~=0.1.5",
"farconf @ git+https://github.com/AlignmentResearch/farconf.git",
"ray[tune] ~=2.11.0",
"matplotlib ~=3.9.0",
]
[project.optional-dependencies]
dev = [
"pre-commit ~=3.6.0",
"pyright ~=1.1.349",
"ruff ~=0.1.13",
"pytest ~=8.1.1",
]
launch-jobs = [
"names_generator ~=0.1.0",
"GitPython ~=3.1.37",
]
[tool.setuptools]
packages = ["cleanba"]