Skip to content

Commit 5381832

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

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

mypy/checker.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7884,7 +7884,9 @@ def infer_issubclass_maps(self, node: CallExpr, expr: Expression) -> tuple[TypeM
78847884
return {}, {}
78857885

78867886
issubclass_type = self.get_isinstance_type(node.args[1])
7887-
yes_type, no_type = self.conditional_types_with_intersection(vartype, issubclass_type, expr)
7887+
yes_type, no_type = self.conditional_types_with_intersection(
7888+
vartype, issubclass_type, expr
7889+
)
78887890
yes_map, no_map = conditional_types_to_typemaps(expr, yes_type, no_type)
78897891
yes_map, no_map = map(convert_to_typetype, (yes_map, no_map))
78907892
return yes_map, no_map

0 commit comments

Comments
 (0)