Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
140 lines (129 loc) · 2.56 KB
/
Copy pathpyproject.toml
File metadata and controls
140 lines (129 loc) · 2.56 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
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
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
[project]
name = "skrl"
version = "2.1.2"
description = "Modular and flexible library for reinforcement learning on PyTorch, JAX and NVIDIA Warp"
readme = "README.md"
requires-python = ">=3.10"
license = {text = "MIT License"}
authors = [
{name = "Toni-SM"},
]
maintainers = [
{name = "Toni-SM"},
]
keywords = ["reinforcement-learning", "machine-learning", "reinforcement", "machine", "learning", "rl"]
classifiers = [
"License :: OSI Approved :: MIT License",
"Intended Audience :: Science/Research",
"Topic :: Scientific/Engineering",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Programming Language :: Python :: 3",
"Operating System :: OS Independent",
]
# dependencies / optional-dependencies
dependencies = [
"gymnasium",
"packaging",
"tensorboard",
"tqdm",
]
[project.optional-dependencies]
torch = [
"torch>=1.11",
]
jax = [
"jax>=0.4.31",
"jaxlib>=0.4.31",
"flax>=0.9.0",
"optax",
]
warp = [
"warp-lang>=1.15",
"warp-nn>=0.4.1",
]
all = [
"torch>=1.11",
"jax>=0.4.31",
"jaxlib>=0.4.31",
"flax>=0.9.0",
"optax",
"warp-lang>=1.15",
"warp-nn>=0.4.1",
]
tests = [
"pytest",
"pytest-html",
"pytest-cov",
"hypothesis",
"pyyaml",
]
# urls
[project.urls]
"Homepage" = "https://github.com/Toni-SM/skrl"
"Documentation" = "https://skrl.readthedocs.io"
"Discussions" = "https://github.com/Toni-SM/skrl/discussions"
"Bug Reports" = "https://github.com/Toni-SM/skrl/issues"
"Say Thanks!" = "https://github.com/Toni-SM"
"Source" = "https://github.com/Toni-SM/skrl"
[tool.setuptools.packages.find]
where = ["."]
include = ["skrl*"]
[tool.black]
line-length = 120
extend-exclude = """
(
^/docs
)
"""
[tool.codespell]
# run: codespell <folder>
skip = "./docs/source/_static,./docs/_build,pyproject.toml"
quiet-level = 3
count = true
[tool.isort]
profile = "black"
line_length = 120
lines_after_imports = 2
known_test = [
"warnings",
"hypothesis",
"pytest",
]
known_annotation = ["typing"]
known_framework = [
"torch",
"jax",
"jaxlib",
"flax",
"optax",
"numpy",
"warp",
"warp_nn",
]
sections = [
"FUTURE",
"ANNOTATION",
"TEST",
"STDLIB",
"THIRDPARTY",
"FRAMEWORK",
"FIRSTPARTY",
"LOCALFOLDER",
]
no_lines_before = "THIRDPARTY"
skip = ["docs"]
[tool.pyright]
typeCheckingMode = "standard"
pythonPlatform = "Linux"
pythonVersion = "3.10"
include = ["skrl"]
exclude = [
"**/__pycache__",
"**/tests",
]
reportArgumentType = "none"
reportAttributeAccessIssue = "none"
reportMissingImports = "none"
reportMissingModuleSource = "none"
reportOptionalMemberAccess = "none"
reportUndefinedVariable = "none"