Tags: python-trio/flake8-async
Tags
async100 now ignores trio.open_nursery and anyio.create_task_group (#317 ) * async100 now ignores trio.open_nursery and anyio.create_task_group * don't crash on weird 'with' call * add more documentation. fix bad formatting for 24.9.3 in changelog * tweak docs * fix cross-refs --------- Co-authored-by: Zac Hatfield-Dodds <zac.hatfield.dodds@gmail.com>
initial implementation of ASYNC123 (#303) * initial implementation of ASYNC123 * add docs, version * fix code coverage * split out py311+-specific async123 test code to not crash CI runs on previous python versions * Update docs/rules.rst Co-authored-by: Zac Hatfield-Dodds <zac.hatfield.dodds@gmail.com> * Update docs/rules.rst --------- Co-authored-by: Zac Hatfield-Dodds <zac.hatfield.dodds@gmail.com>
fix various issues with ASYNC102 (#289) - ASYNC102 and ASYNC120 now - handles nested cancel scopes - detects internal cancel scopes of nurseries as a way to shield&deadline - no longer treats trio.open_nursery or anyio.create_task_group as cancellation sources - handles the `shield` parameter to trio.fail_after and friends
ASYNC113 & ASYNC121 false alarm with nested sync functions (#287) * fix async121 false alarm in asyncfunctiondef * fix async113 as well * add changelog entry, bump version * fix pre-commit mypy error in test file * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
PreviousNext