123456789101112131415161718192021222324252627282930313233343536373839404142 |
- [tool.pyright]
- include = [
- "minigrid/**",
- ]
- exclude = [
- "**/node_modules",
- "**/__pycache__",
- ]
- strict = [
- ]
- typeCheckingMode = "basic"
- pythonVersion = "3.7"
- typeshedPath = "typeshed"
- enableTypeIgnoreComments = true
- # This is required as the CI pre-commit does not download the module (i.e. numpy)
- # Therefore, we have to ignore missing imports
- reportMissingImports = "none"
- reportUnknownMemberType = "none"
- reportUnknownParameterType = "none"
- reportUnknownVariableType = "none"
- reportUnknownArgumentType = "none"
- reportPrivateUsage = "warning"
- reportUntypedFunctionDecorator = "none"
- reportMissingTypeStubs = false
- reportUnboundVariable = "warning"
- reportGeneralTypeIssues ="none"
- reportPrivateImportUsage = "none"
- [tool.pytest.ini_options]
- filterwarnings = ['ignore:.*step API.*:DeprecationWarning'] # TODO: to be removed when old step API is removed
- [tool.isort]
- profile = "black"
- add_imports = [ "from __future__ import annotations" ]
- append_only = true
|