pyproject.toml 979 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. [tool.pyright]
  2. include = [
  3. "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. reportPrivateImportUsage = "none"
  28. [tool.pytest.ini_options]
  29. filterwarnings = ['ignore:.*step API.*:DeprecationWarning'] # TODO: to be removed when old step API is removed
  30. [tool.isort]
  31. profile = "black"
  32. add_imports = [ "from __future__ import annotations" ]
  33. append_only = true