From 35e878853457c1d4ea46060d6328ccf372860033 Mon Sep 17 00:00:00 2001 From: Maximilian Roos Date: Wed, 2 Oct 2024 11:58:58 -0700 Subject: [PATCH 1/2] Remove superfluous lines from pyright config --- pyproject.toml | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 0078a346b75..ef763f76796 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -213,26 +213,13 @@ module = ["xarray.namedarray.*", "xarray.tests.test_namedarray"] # "src/experimental", # "src/typestubs" # ] -# ignore = ["src/oldstuff"] defineConstant = {DEBUG = true} -# stubPath = "src/stubs" -# venv = "env367" # Enabling this means that developers who have disabled the warning locally — # because not all dependencies are installable — are overridden # reportMissingImports = true reportMissingTypeStubs = false -# pythonVersion = "3.6" -# pythonPlatform = "Linux" - -# executionEnvironments = [ -# { root = "src/web", pythonVersion = "3.5", pythonPlatform = "Windows", extraPaths = [ "src/service_libs" ] }, -# { root = "src/sdk", pythonVersion = "3.0", extraPaths = [ "src/backend" ] }, -# { root = "src/tests", extraPaths = ["src/tests/e2e", "src/sdk" ]}, -# { root = "src" } -# ] - [tool.ruff] extend-exclude = [ "doc", From b9cc2656249376ba404ea005ba294fbccd080b7e Mon Sep 17 00:00:00 2001 From: Maximilian Roos Date: Wed, 2 Oct 2024 11:59:33 -0700 Subject: [PATCH 2/2] --- pyproject.toml | 6 ------ 1 file changed, 6 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index ef763f76796..b97ae58e4de 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -207,12 +207,6 @@ warn_return_any = true module = ["xarray.namedarray.*", "xarray.tests.test_namedarray"] [tool.pyright] -# include = ["src"] -# exclude = ["**/node_modules", -# "**/__pycache__", -# "src/experimental", -# "src/typestubs" -# ] defineConstant = {DEBUG = true} # Enabling this means that developers who have disabled the warning locally —