diff --git a/pyrightconfig.json b/pyrightconfig.json index 19e2954f6..9ba71a6fe 100644 --- a/pyrightconfig.json +++ b/pyrightconfig.json @@ -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", } diff --git a/pyrightconfig.stricter.json b/pyrightconfig.stricter.json index 8e55ff80b..b19bffc4c 100644 --- a/pyrightconfig.stricter.json +++ b/pyrightconfig.stricter.json @@ -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", }