/
githubmirror
/
gym
Обзор
Документация
Войти
/
githubmirror
/
gym
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
pyproject.toml
42 строки
1 KB
Mark Towers
Type hint mujoco_env.py and update pyright (#3015)
16 авг 2022, 18:59
Не верифицирован
16 авг 2022, 18:59
f54319e
Код
Авторство
О чём код?
[tool.pyright] include = [ "gym/**", "tests/**" ] exclude = [ "**/node_modules", "**/__pycache__", ] strict = [ ] typeCheckingMode = "basic" pythonVersion = "3.6" 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 = "none" # -> commented out raises 489 errors reportUntypedFunctionDecorator = "none" # -> pytest.mark.parameterize issues reportPrivateUsage = "warning" reportUnboundVariable = "warning" [tool.pytest.ini_options] filterwarnings = ['ignore:.*step API.*:DeprecationWarning'] # TODO: to be removed when old step API is removed