mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-10 05:51:52 +08:00
Increase pyright strictness when checking __all__ (#7356)
This commit is contained in:
@@ -43,12 +43,10 @@
|
||||
"reportInvalidTypeVarUse": "error",
|
||||
"reportPropertyTypeMismatch": "error",
|
||||
"reportSelfClsParameterName": "error",
|
||||
"reportUnsupportedDunderAll": "error",
|
||||
// Overlapping overloads cannot be enabled at this time because
|
||||
// of the "fractions.Fraction.__pow__" method and "tasks.gather" function.
|
||||
// Mypy's overlapping overload logic misses these issues (see mypy
|
||||
// issue #10143 and #10157).
|
||||
"reportOverlappingOverload": "none",
|
||||
// Several stubs refer to symbols in __all__ that are conditionally
|
||||
// declared based on platform or version checks.
|
||||
"reportUnsupportedDunderAll": "none",
|
||||
}
|
||||
|
||||
@@ -111,12 +111,10 @@
|
||||
"reportInvalidTypeVarUse": "error",
|
||||
"reportPropertyTypeMismatch": "error",
|
||||
"reportSelfClsParameterName": "error",
|
||||
"reportUnsupportedDunderAll": "error",
|
||||
// Overlapping overloads cannot be enabled at this time because
|
||||
// of the "factions.Fraction.__pow__" method and "tasks.gather" function.
|
||||
// of the "fractions.Fraction.__pow__" method and "tasks.gather" function.
|
||||
// Mypy's overlapping overload logic misses these issues (see mypy
|
||||
// issue #10143 and #10157).
|
||||
"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