-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
104 lines (91 loc) · 2.29 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
[project]
name = "xminigrid"
description = "JAX-accelerated meta-reinforcement learning environments inspired by XLand and MiniGrid"
readme = "README.md"
requires-python =">=3.9"
license = {file = "LICENSE"}
authors = [
{name = "Alexander Nikulin", email = "[email protected]"},
]
dynamic = ["version"]
keywords = [
"jax",
"neural-networks",
"deep-learning",
"reinforcement learning",
"meta reinforcement learning",
"gridworld",
"minigrid",
"xland",
]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"Natural Language :: English",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"License :: OSI Approved :: Apache Software License",
]
dependencies = [
"jax>=0.4.26",
"jaxlib>=0.4.26",
"flax>=0.8.0",
"rich>=13.4.2",
"chex>=0.1.85",
"imageio>=2.31.2",
"imageio-ffmpeg>=0.4.9",
]
[project.optional-dependencies]
dev = [
"ruff>=0.1.6",
"pre-commit>=3.3.3",
"pyright>=1.1.347",
]
baselines = [
"matplotlib>=3.7.2",
"wandb>=0.15.10",
"pyrallis>=0.3.1",
"distrax>=0.1.4",
"optax>=0.1.5",
"orbax>=0.1.9"
]
[build-system]
requires = ["setuptools>=61.0"]
build-backend = "setuptools.build_meta"
[tool.setuptools.dynamic]
version = {attr = "xminigrid.__version__"}
[tool.ruff]
line-length = 120
target-version = "py310"
[tool.ruff.lint]
# disabling rules conflicting with the formatter (from the docs)
select = ["E", "F", "I001", "RUF100"]
# TODO: remove F401 from ignored later
ignore = [
"W191", "E111", "E114",
"E117", "D206", "D300",
"Q000", "Q001", "Q002",
"Q003", "COM812", "COM819",
"ISC001", "ISC002", "F401"
]
[tool.ruff.format]
skip-magic-trailing-comma = false
[tool.ruff.lint.isort]
# see https://github.com/astral-sh/ruff/issues/8571
known-third-party = ["wandb"]
[tool.pyright]
include = ["src/xminigrid"]
exclude = [
'training',
"**/node_modules",
"**/__pycache__",
]
reportMissingImports = "none"
reportMissingTypeStubs = false
reportMissingModuleSource = false
pythonVersion = "3.10"
pythonPlatform = "All"