Skip to content

Commit 81ce477

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

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

mypy/checker.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6253,8 +6253,10 @@ def conditional_callable_type_map(
62536253
# Narrow Any to a generic callable type to satisfy no-any-return in strict mode.
62546254
return {
62556255
expr: CallableType(
6256-
[AnyType(TypeOfAny.from_another_any, source_any=current_type),
6257-
AnyType(TypeOfAny.from_another_any, source_any=current_type)],
6256+
[
6257+
AnyType(TypeOfAny.from_another_any, source_any=current_type),
6258+
AnyType(TypeOfAny.from_another_any, source_any=current_type),
6259+
],
62586260
[nodes.ARG_STAR, nodes.ARG_STAR2],
62596261
[None, None],
62606262
ret_type=AnyType(TypeOfAny.from_another_any, source_any=current_type),

0 commit comments

Comments
 (0)