-
-
Notifications
You must be signed in to change notification settings - Fork 47
/
pyproject.toml
97 lines (82 loc) · 2.79 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
# Package ######################################################################
[build-system]
requires = ["setuptools >= 61.0.0"]
build-backend = "setuptools.build_meta"
[project]
name = "miniwob"
description = "A web interaction benchmark for reinforcement learning."
readme = "README.md"
requires-python = ">= 3.8"
authors = [{ name = "Farama Foundation", email = "[email protected]" }]
license = { text = "MIT License" }
keywords = ["Reinforcement Learning", "game", "RL", "AI", "gymnasium"]
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",
"Intended Audience :: Science/Research",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
]
dependencies = [
"Gymnasium>=1.0.0a1",
"Pillow>=9.0.0",
"selenium>=4.5.0",
"numpy>=1.18.0",
"farama-notifications>=0.0.1",
]
dynamic = ["version"]
[project.optional-dependencies]
testing = [
"pytest>=7.0.0",
"pytest-timeout>=2.1.0",
]
[project.urls]
Homepage = "https://farama.org"
Repository = "https://github.com/Farama-Foundation/miniwob-plusplus"
Documentation = "https://miniwob.farama.org"
"Bug Report" = "https://github.com/Farama-Foundation/miniwob-plusplus/issues"
[project.entry-points."gymnasium.envs"]
__root__ = "miniwob.registration:register_miniwob_envs"
[tool.setuptools]
include-package-data = true
[tool.setuptools.packages.find]
include = ["miniwob", "miniwob.*"]
[tool.setuptools.package-data]
miniwob = ["html/**"]
# Linters and Test tools #######################################################
[tool.black]
safe = true
[tool.isort]
atomic = true
profile = "black"
src_paths = ["miniwob", "tests", "docs/_scripts"]
extra_standard_library = ["typing_extensions"]
indent = 4
lines_after_imports = 2
multi_line_output = 3
[tool.pyright]
include = ["miniwob/**", "tests/**"]
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
# 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
[tool.pytest.ini_options]
filterwarnings = [
# Turn warnings into errors
"error",
# ... except for the following warnings:
'ignore:.*For Box action spaces, we recommend using a symmetric and normalized space.*',
'ignore:.*No render fps was declared in the environment.*',
'ignore::ResourceWarning',
]