Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

102 now also checks __aexit__ #306

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

jakkdl
Copy link
Member

@jakkdl jakkdl commented Oct 25, 2024

I didn't realize just how trivial it was to enable this functionality lol
also some random small changes

Fixes another part of #262, only the new rule for @asynccontextmanager left.

@@ -4,6 +4,10 @@ Changelog

`CalVer, YY.month.patch <https://calver.org/>`_

24.10.2
=======
- :ref:`ASYNC102` <async102>` now also warns about ``await()`` inside ``__aexit__``.
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
- :ref:`ASYNC102` <async102>` now also warns about ``await()`` inside ``__aexit__``.
- :ref:`ASYNC102 <async102>` now also warns about ``await()`` inside ``__aexit__``.

Copy link
Member

@Zac-HD Zac-HD left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants