-
-
Notifications
You must be signed in to change notification settings - Fork 86
/
Copy pathpyproject.toml
100 lines (88 loc) · 2.15 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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.sdist]
exclude = [
"/.github",
"/docs",
]
[tool.hatch.build.targets.wheel]
packages = ["rllte"]
[project]
name = "rllte-core"
version = "1.0.0"
authors = [
{ name="Reinforcement Learning Evolution Foundation", email="[email protected]" },
]
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",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
]
dependencies = [
"gymnasium[accept-rom-license, other]",
"torch",
"torchvision",
"termcolor",
"scipy>= 1.7.0",
"pynvml==11.5.0",
"matplotlib==3.6.0",
"seaborn==0.12.2",
"huggingface_hub==0.14.1"
]
[project.optional-dependencies]
tests = [
"build",
"pytest",
"pytest-cov",
"pytest-env",
"pytest-xdist",
"pytype",
"ruff",
"isort>=5.0",
"black"
]
docs = [
"mkdocs-material",
"mkgendocs"
]
[project.urls]
"Code" = "https://github.com/RLE-Foundation/rllte"
"Documentation" = "https://docs.rllte.dev/"
"Benchmark" = "https://hub.rllte.dev/"
"Bug Tracker" = "https://github.com/RLE-Foundation/rllte/issues"
[tool.ruff]
# Same as Black.
line-length = 127
# Assume Python 3.7
target-version = "py38"
# See https://beta.ruff.rs/docs/rules/
select = ["E", "F", "B", "UP", "C90", "RUF"]
# Ignore explicit stacklevel`
ignore = ["B028", "B008"]
[tool.black]
line-length = 127
[tool.isort]
profile = "black"
line_length = 127
src_paths = ["rllte"]
[tool.pytype]
inputs = ["rllte"]
disable = ["pyi-error"]
[tool.mypy]
ignore_missing_imports = true
follow_imports = "silent"
show_error_codes = true
exclude = ["rllte/env",
"rllte/evaluation/visualization.py"
]
# disable_error_code = ["union-attr", "operator", "arg-type", "assignment"]