Skip to content

Commit e91d02d

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

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

mypy/checkexpr.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6065,8 +6065,7 @@ def accept(
60656065
elif (
60666066
isinstance(p_type_context, UnionType)
60676067
and any(
6068-
isinstance(p_item := get_proper_type(item), TypeType)
6069-
and p_item.is_type_form
6068+
isinstance(p_item := get_proper_type(item), TypeType) and p_item.is_type_form
60706069
for item in p_type_context.items
60716070
)
60726071
and (node_as_type := self.try_parse_as_type_expression(node)) is not None

0 commit comments

Comments
 (0)