diff --git a/pyproject.toml b/pyproject.toml index 79ebfb526e2..c23d12ffba1 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -214,13 +214,16 @@ warn_return_any = true module = ["xarray.namedarray.*", "xarray.tests.test_namedarray"] -[tool.pyright] -defineConstant = {DEBUG = true} - -# Enabling this means that developers who have disabled the warning locally — -# because not all dependencies are installable — are overridden -# reportMissingImports = true -reportMissingTypeStubs = false +# We disable pyright here for now, since including it means that all errors show +# up in devs' VS Code, which then makes it more difficult to work with actual +# errors. It overrides local VS Code settings so isn't escapable. + +# [tool.pyright] +# defineConstant = {DEBUG = true} +# # Enabling this means that developers who have disabled the warning locally — +# # because not all dependencies are installable — are overridden +# # reportMissingImports = true +# reportMissingTypeStubs = false [tool.ruff] extend-exclude = [