Skip to content

Tags: python-trio/flake8-async

Tags

24.11.4

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
ASYNC100 now treats start_soon() as a cancel point (#327)

* ASYNC100 now treats start_soon() as a cancel point

* oh derp, visitor91x is a CST visitor

* start_soon now makes open_nursery a cancel point on exit

24.11.3

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Revert the changes to Visitor91x in "async100 now ignores trio.open_n… (

#326)

* Revert the changes to Visitor91x in "async100 now ignores trio.open_nursery and anyio.create_task_group (#317)"

This partially reverts commit 7a45176.

24.11.2

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
fix crash. Make identifier_to_string less footgunny. (#323)

* fix crash. Make identifier_to_string less footgunny.

* add changelog & bump version. Fix incorrect changelog placement.

24.11.1

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
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>

24.10.2

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
102 now also checks __aexit__ (#306)

* 102 now also checks __aexit__

24.10.1

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
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>

24.9.5

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
fix assertionerror with infinite loop in context manager (#296)

24.9.4

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
add ASYNC122 delayed-entry-of-relative-cancelscope (#292)

24.9.3

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
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

24.9.2

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
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>