-
-
Notifications
You must be signed in to change notification settings - Fork 43
/
pyproject.toml
121 lines (100 loc) · 3.55 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
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
# Package ######################################################################
[build-system]
requires = ["setuptools >= 61.0.0"]
build-backend = "setuptools.build_meta"
[project]
name = "minari"
description = "A standard format for offline reinforcement learning datasets, with popular reference datasets and related utilities."
readme = "README.md"
requires-python = ">= 3.8"
authors = [{ name = "Farama Foundation", email = "[email protected]" }]
license = { text = "MIT License" }
keywords = ["Reinforcement Learning", "Offline RL", "RL", "AI", "Gymnasium", "Farama"]
classifiers = [
"Development Status :: 4 - Beta", # change to `5 - Production/Stable` when ready
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
'Intended Audience :: Science/Research',
'Topic :: Scientific/Engineering :: Artificial Intelligence',
]
dependencies = [
"numpy>=1.21.0",
"typing_extensions>=4.4.0",
"typer[all]>=0.9.0",
"gymnasium>=0.28.1",
"packaging",
]
dynamic = ["version"]
[project.optional-dependencies]
arrow = ["pyarrow"]
hdf5 = ["h5py>=3.8.0"]
gcs = ["google-cloud-storage>=2.5.0", "tqdm"]
hf = ["huggingface_hub"]
create = ["jax[cpu]"]
all = ["minari[arrow,hdf5,gcs,hf,create]"]
testing = [
"pytest>=7.1.3",
"gymnasium-robotics>=1.2.3",
"mktestdocs",
]
integrations = [
"torchrl",
"agilerl>=1.0.6",
"d3rlpy"
]
[project.urls]
Homepage = "https://farama.org"
Repository = "https://github.com/Farama-Foundation/Minari"
Documentation = "https://minari.farama.org/"
"Bug Report" = "https://github.com/Farama-Foundation/Minari/issues"
[project.scripts]
minari = "minari.cli:app"
[tool.setuptools]
include-package-data = true
[tool.setuptools.packages.find]
include = ["minari", "minari.*"]
# Linters and Test tools #######################################################
[tool.black]
safe = true
force-exclude = "docs/tutorials/"
[tool.isort]
atomic = true
profile = "black"
src_paths = ["minari", "tests"]
extra_standard_library = ["typing_extensions"]
indent = 4
lines_after_imports = 2
multi_line_output = 3
[tool.pyright]
include = ["minari/**", "tests/**"]
exclude = ["**/node_modules", "**/__pycache__"]
strict = []
typeCheckingMode = "basic"
pythonVersion = "3.8"
pythonPlatform = "All"
typeshedPath = "typeshed"
enableTypeIgnoreComments = true
# This is required as the CI pre-commit does not download the module (i.e. numpy, pygame, box2d)
# Therefore, we have to ignore missing imports
reportMissingImports = "none"
# Some modules are missing type stubs, which is an issue when running pyright locally
reportMissingTypeStubs = false
# For warning and error, will raise an error when
reportInvalidTypeVarUse = "none"
# reportUnknownMemberType = "warning" # -> raises 6035 warnings
# reportUnknownParameterType = "warning" # -> raises 1327 warnings
# reportUnknownVariableType = "warning" # -> raises 2585 warnings
# reportUnknownArgumentType = "warning" # -> raises 2104 warnings
reportGeneralTypeIssues = "error" # -> commented out raises 489 errors
reportUntypedFunctionDecorator = "none" # -> pytest.mark.parameterize issues
reportPrivateUsage = "warning"
reportUnboundVariable = "warning"
[tool.pytest.ini_options]
filterwarnings = ['ignore:.*`eval_env` is set to None']
# filterwarnings = ['ignore:.*step API.*:DeprecationWarning']
addopts = ["--ignore=docs/tutorials"]