You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So it's not just async with trio.open_nursery() that needs to be checked against.
Both of those cases are definitely less common, but far from unheard of. The former is an easy fix, the latter is a bit more tricky but we're already type-tracking nurseries for other reasons so shouldn't be too bad.
flake8-async/tests/eval_files/async102.py
Lines 117 to 125 in 225f15a
TODO:
async with open_nursery(...)
, andasync with anyio.create_task_group(...)
as not being checkpoints. (also affects other rules)[nursery_name].cancel_scope.[deadline/shield]
The text was updated successfully, but these errors were encountered: