Skip to content

Commit cffd04a

Browse files
committed
blacken
1 parent ceaa59c commit cffd04a

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

trio_typing/plugin.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -457,9 +457,8 @@ def start_soon(
457457
raise ValueError("must be used as a decorator")
458458

459459
fn_type = get_proper_type(ctx.arg_types[0][0])
460-
if (
461-
not isinstance(fn_type, CallableType)
462-
or not isinstance(get_proper_type(ctx.default_return_type), CallableType)
460+
if not isinstance(fn_type, CallableType) or not isinstance(
461+
get_proper_type(ctx.default_return_type), CallableType
463462
):
464463
raise ValueError("must be used as a decorator")
465464

0 commit comments

Comments
 (0)