Skip to content

Commit aab6b90

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

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

mypy/checker.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6979,9 +6979,7 @@ def propagate_up_typemap_info(self, new_types: TypeMap) -> TypeMap:
69796979
for expr, expr_type in new_types.items():
69806980
all_mappings.append(self.refine_parent_types(expr, expr_type))
69816981
return and_conditional_maps(
6982-
new_types,
6983-
reduce_and_conditional_type_maps(all_mappings, use_meet=True),
6984-
use_meet=True
6982+
new_types, reduce_and_conditional_type_maps(all_mappings, use_meet=True), use_meet=True
69856983
)
69866984

69876985
def refine_parent_types(self, expr: Expression, expr_type: Type) -> Mapping[Expression, Type]:

0 commit comments

Comments
 (0)