We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b40c1e6 commit 4e474cbCopy full SHA for 4e474cb
mypy/errors.py
@@ -297,8 +297,9 @@ def yield_nonoverlapping_types(
297
):
298
selected.add(candidate)
299
300
- persistent_nonoverlaps: dict[NonOverlapErrorInfo, tuple[list[Type], list[Type]]
301
- ] = defaultdict(lambda: ([], []))
+ persistent_nonoverlaps: dict[NonOverlapErrorInfo, tuple[list[Type], list[Type]]] = (
+ defaultdict(lambda: ([], []))
302
+ )
303
for nonoverlaps in self.nonoverlapping_types:
304
for candidate, (left, right) in nonoverlaps.items():
305
if candidate in selected:
0 commit comments