Skip to content

Commit c059362

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

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

mypy/checkexpr.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6764,8 +6764,10 @@ def _any_in_unrelated_position(arg_type: ProperType, formals: list[Type]) -> boo
67646764
return False
67656765

67666766
if isinstance(arg_type, TupleType):
6767-
if not all(isinstance(f, TupleType) and len(f.items) == len(arg_type.items)
6768-
for f in proper_formals):
6767+
if not all(
6768+
isinstance(f, TupleType) and len(f.items) == len(arg_type.items)
6769+
for f in proper_formals
6770+
):
67696771
return False
67706772
tuple_formals = cast(list[TupleType], proper_formals)
67716773
for i, item in enumerate(arg_type.items):

0 commit comments

Comments
 (0)