Skip to content

Commit b4fabc5

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 9a776cf commit b4fabc5

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

mypy/subtypes.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -471,8 +471,7 @@ def visit_instance(self, left: Instance) -> bool:
471471
expanded = expand_type_by_instance(mapped.type.tuple_type, mapped)
472472
assert isinstance(expanded, TupleType)
473473
if self._is_subtype(
474-
expanded,
475-
right.copy_modified(fallback=expanded.partial_fallback)
474+
expanded, right.copy_modified(fallback=expanded.partial_fallback)
476475
):
477476
return not self.proper_subtype
478477
return False

0 commit comments

Comments
 (0)