Remove obsolete pyright setting "reportShadowedImports" (#15027)

Removed in 1.1.406: https://github.com/microsoft/pyright/releases/tag/1.1.406
This commit is contained in:
Sebastian Rittau
2025-11-14 21:45:16 +01:00
committed by GitHub
parent 0244ef7748
commit c44315913b
4 changed files with 0 additions and 6 deletions
-2
View File
@@ -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
-1
View File
@@ -14,7 +14,6 @@
"reportImplicitStringConcatenation": "none",
// Extra strict settings
"reportMissingModuleSource": "error",
"reportShadowedImports": "error",
"reportCallInDefaultInitializer": "error",
"reportPropertyTypeMismatch": "error",
"reportUninitializedInstanceVariable": "error",
-2
View File
@@ -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
-1
View File
@@ -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",