mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-03-04 22:31:26 +08:00
Updated pyright version to 1.1.160 (#5857)
* Updated pyright version to 1.1.160. Older versions contained a bug that prevented multiple third-party stub packages from having the same top-level module name. * Disabled "reportUnsupportedDunderAll" diagnostic check for now. Co-authored-by: Eric Traut <erictr@microsoft.com>
This commit is contained in:
@@ -51,7 +51,6 @@
|
||||
"reportUndefinedVariable": "error",
|
||||
"reportUnboundVariable": "error",
|
||||
"reportInvalidStubStatement": "error",
|
||||
"reportUnsupportedDunderAll": "error",
|
||||
"reportInvalidTypeVarUse": "error",
|
||||
"reportPropertyTypeMismatch": "error",
|
||||
"reportSelfClsParameterName": "error",
|
||||
@@ -59,5 +58,8 @@
|
||||
// of the "factions.Fraction.__pow__" method and "tasks.gather" function.
|
||||
// Mypy's overlapping overload logic misses these issues (see mypy
|
||||
// issue #10143 and #10157).
|
||||
"reportOverlappingOverload": "none"
|
||||
}
|
||||
"reportOverlappingOverload": "none",
|
||||
// Several stubs refer to symbols in __all__ that are conditionally
|
||||
// declared based on platform or version checks.
|
||||
"reportUnsupportedDunderAll": "none",
|
||||
}
|
||||
Reference in New Issue
Block a user