forked from RLE-Foundation/rllte
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
88 lines (80 loc) · 1.82 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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "hsuanwu"
version = "0.0.1.beta05"
authors = [
{ name="Reinforcement Learning Evolution Foundation", email="hsuanwudev@gmail.com" },
]
description = "Long-Term Evolution Project of Reinforcement Learning"
readme = "README.md"
requires-python = ">=3.8"
keywords = ["Reinforcement Learning", "Algorithm", "Evolution", "Baseline"]
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
]
dependencies = [
"gymnasium[accept-rom-license]==0.28.1",
"torch==2.0.0",
"torchvision==0.15.1",
"hydra-core==1.3.2",
"hydra-submitit-launcher==1.2.0",
"opencv-python",
"tensorboardX",
"termcolor",
"scipy>= 1.7.0",
"arch==5.3.0"
]
[project.optional-dependencies]
tests = [
"build-0.10.0",
"pytest",
"pytest-cov",
"pytest-env",
"pytest-xdist",
"pytype",
"ruff",
"isort>=5.0",
"black"
]
envs = [
"gym==0.21.0", # for Procgen games
"ale-py==0.8.1",
"gymnasium[accept-rom-license]",
"dm-control==1.0.11",
"procgen==0.10.7",
"minigrid",
"scikit-image",
"scikit-video",
"imageio"
]
docs = [
"mkdocs-material",
"mkgendocs"
]
[project.urls]
"Code" = "https://github.com/RLE-Foundation/Hsuanwu"
"Documentation" = "https://docs.hsuanwu.dev/"
"Benchmark" = "https://hub.hsuanwu.dev/"
"Bug Tracker" = "https://github.com/RLE-Foundation/Hsuanwu/issues"
[tool.ruff]
# Same as Black.
line-length = 127
# Assume Python 3.7
target-version = "py37"
# See https://beta.ruff.rs/docs/rules/
select = ["E", "F", "B", "UP", "C90", "RUF"]
# Ignore explicit stacklevel`
ignore = ["B028"]
[tool.black]
line-length = 127
[tool.isort]
profile = "black"
line_length = 127
src_paths = ["hsuanwu"]
[tool.pytype]
inputs = ["hsuanwu"]
disable = ["pyi-error"]