Skip to content

Commit c61ea74

Browse files
committed
Increase pyright strictness when checking __all__
1 parent 7a81bd4 commit c61ea74

File tree

2 files changed

+1
-7
lines changed

2 files changed

+1
-7
lines changed

pyrightconfig.json

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,4 @@
4848
// Mypy's overlapping overload logic misses these issues (see mypy
4949
// issue #10143 and #10157).
5050
"reportOverlappingOverload": "none",
51-
// Several stubs refer to symbols in __all__ that are conditionally
52-
// declared based on platform or version checks.
53-
"reportUnsupportedDunderAll": "none",
5451
}

pyrightconfig.stricter.json

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -111,11 +111,8 @@
111111
"reportPropertyTypeMismatch": "error",
112112
"reportSelfClsParameterName": "error",
113113
// Overlapping overloads cannot be enabled at this time because
114-
// of the "factions.Fraction.__pow__" method and "tasks.gather" function.
114+
// of the "fractions.Fraction.__pow__" method and "tasks.gather" function.
115115
// Mypy's overlapping overload logic misses these issues (see mypy
116116
// issue #10143 and #10157).
117117
"reportOverlappingOverload": "none",
118-
// Several stubs refer to symbols in __all__ that are conditionally
119-
// declared based on platform or version checks.
120-
"reportUnsupportedDunderAll": "none",
121118
}

0 commit comments

Comments
 (0)