diff --git a/pyrightconfig.json b/pyrightconfig.json index 5e63976c9..74ddb65b8 100644 --- a/pyrightconfig.json +++ b/pyrightconfig.json @@ -28,8 +28,6 @@ // No effect in stubs "reportMissingSuperCall": "none", "reportUninitializedInstanceVariable": "none", - // stdlib stubs trigger reportShadowedImports - "reportShadowedImports": "none", // Stubs are allowed to use private variables "reportPrivateUsage": "none", // Stubs don't need the actual modules to be installed diff --git a/pyrightconfig.scripts_and_tests.json b/pyrightconfig.scripts_and_tests.json index 68bcd2688..f9b093547 100644 --- a/pyrightconfig.scripts_and_tests.json +++ b/pyrightconfig.scripts_and_tests.json @@ -14,7 +14,6 @@ "reportImplicitStringConcatenation": "none", // Extra strict settings "reportMissingModuleSource": "error", - "reportShadowedImports": "error", "reportCallInDefaultInitializer": "error", "reportPropertyTypeMismatch": "error", "reportUninitializedInstanceVariable": "error", diff --git a/pyrightconfig.stricter.json b/pyrightconfig.stricter.json index 2d158badd..63b7c0804 100644 --- a/pyrightconfig.stricter.json +++ b/pyrightconfig.stricter.json @@ -108,8 +108,6 @@ // No effect in stubs "reportMissingSuperCall": "none", "reportUninitializedInstanceVariable": "none", - // stdlib stubs trigger reportShadowedImports - "reportShadowedImports": "none", // Stubs are allowed to use private variables "reportPrivateUsage": "none", // Stubs don't need the actual modules to be installed diff --git a/pyrightconfig.testcases.json b/pyrightconfig.testcases.json index a957cc694..ab1cb86b9 100644 --- a/pyrightconfig.testcases.json +++ b/pyrightconfig.testcases.json @@ -6,7 +6,6 @@ ], "typeCheckingMode": "strict", // Extra strict settings - "reportShadowedImports": "error", // Don't accidentally name a file something that shadows stdlib "reportImplicitStringConcatenation": "error", "reportUninitializedInstanceVariable": "error", "reportUnnecessaryTypeIgnoreComment": "error",