-
Notifications
You must be signed in to change notification settings - Fork 228
/
Copy pathpyproject.toml
94 lines (79 loc) · 2.39 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
[build-system]
requires = ["setuptools>=61.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "rsl-rl-lib"
version = "2.1.2"
keywords = ["reinforcement-learning", "isaac", "leggedrobotics", "rl-pytorch"]
maintainers = [
{ name="Clemens Schwarke", email="[email protected]" },
{ name="Mayank Mittal", email="[email protected]" },
]
authors = [
{ name="Clemens Schwarke", email="[email protected]" },
{ name="Mayank Mittal", email="[email protected]" },
{ name="Nikita Rudin", email="[email protected]" },
{ name="David Hoeller", email="[email protected]" },
]
description = "Fast and simple RL algorithms implemented in PyTorch"
readme = { file = "README.md", content-type = "text/markdown"}
license = { text = "BSD-3-Clause" }
requires-python = ">=3.8"
classifiers = [
"Programming Language :: Python :: 3",
"Operating System :: OS Independent",
]
dependencies = [
"torch>=1.10.0",
"torchvision>=0.5.0",
"numpy>=1.16.4",
"GitPython",
"onnx",
]
[project.urls]
Homepage = "https://github.com/leggedrobotics/rsl_rl"
Issues = "https://github.com/leggedrobotics/rsl_rl/issues"
[tool.setuptools.packages.find]
where = ["."]
include = ["rsl_rl*"]
[tool.setuptools.package-data]
"rsl_rl" = ["config/*", "licenses/*"]
[tool.isort]
py_version = 37
line_length = 120
group_by_package = true
# Files to skip
skip_glob = [".vscode/*"]
# Order of imports
sections = [
"FUTURE",
"STDLIB",
"THIRDPARTY",
"FIRSTPARTY",
"LOCALFOLDER",
]
# Extra standard libraries considered as part of python (permissive licenses)
extra_standard_library = [
"numpy",
"torch",
"tensordict",
"warp",
"typing_extensions",
"git",
]
# Imports from this repository
known_first_party = "rsl_rl"
[tool.pyright]
include = ["rsl_rl"]
typeCheckingMode = "basic"
pythonVersion = "3.7"
pythonPlatform = "Linux"
enableTypeIgnoreComments = true
# This is required as the CI pre-commit does not download the module (i.e. numpy, torch, prettytable)
# Therefore, we have to ignore missing imports
reportMissingImports = "none"
# This is required to ignore for type checks of modules with stubs missing.
reportMissingModuleSource = "none" # -> most common: prettytable in mdp managers
reportGeneralTypeIssues = "none" # -> raises 218 errors (usage of literal MISSING in dataclasses)
reportOptionalMemberAccess = "warning" # -> raises 8 errors
reportPrivateUsage = "warning"