We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ceaa59c commit cffd04aCopy full SHA for cffd04a
trio_typing/plugin.py
@@ -457,9 +457,8 @@ def start_soon(
457
raise ValueError("must be used as a decorator")
458
459
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)
+ if not isinstance(fn_type, CallableType) or not isinstance(
+ get_proper_type(ctx.default_return_type), CallableType
463
):
464
465
0 commit comments