You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

36 lines
844 B

1 year ago
  1. [tool.pyright]
  2. include = [
  3. "gym_minigrid/**",
  4. ]
  5. exclude = [
  6. "**/node_modules",
  7. "**/__pycache__",
  8. ]
  9. strict = [
  10. ]
  11. typeCheckingMode = "basic"
  12. pythonVersion = "3.7"
  13. typeshedPath = "typeshed"
  14. enableTypeIgnoreComments = true
  15. # This is required as the CI pre-commit does not download the module (i.e. numpy)
  16. # Therefore, we have to ignore missing imports
  17. reportMissingImports = "none"
  18. reportUnknownMemberType = "none"
  19. reportUnknownParameterType = "none"
  20. reportUnknownVariableType = "none"
  21. reportUnknownArgumentType = "none"
  22. reportPrivateUsage = "warning"
  23. reportUntypedFunctionDecorator = "none"
  24. reportMissingTypeStubs = false
  25. reportUnboundVariable = "warning"
  26. reportGeneralTypeIssues ="none"
  27. [tool.pytest.ini_options]
  28. filterwarnings = ['ignore:.*step API.*:DeprecationWarning'] # TODO: to be removed when old step API is removed