Skip to content

Commit 52c31e2

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

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

mypy/checker.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6687,7 +6687,9 @@ def narrow_type_by_identity_equality(
66876687
continue
66886688

66896689
expr_type = operand_types[i]
6690-
expanded_expr_type = try_expanding_sum_type_to_union(coerce_to_literal(expr_type), None)
6690+
expanded_expr_type = try_expanding_sum_type_to_union(
6691+
coerce_to_literal(expr_type), None
6692+
)
66916693
expr_enum_keys = ambiguous_enum_equality_keys(expr_type)
66926694
for j in expr_indices:
66936695
if i == j:

0 commit comments

Comments
 (0)