ruff icon indicating copy to clipboard operation
ruff copied to clipboard

Add `asyncio` and `anyio` support to `ASYNC1XX`

Open MichaReiser opened this issue 1 year ago • 0 comments

The ASYNC1xx rules used to be trio specific rules, but the upstream flake8-async rules now also cover asyncio and anyio (see https://github.com/astral-sh/ruff/pull/10416 for when we recoded the trio rules to flake8-async).

We should update

  • ASYNC100
  • ASYNC109
  • ASYNC110
  • ASYNC115

To also cover anyio and asyncio to match the upstream rule's behavior.

MichaReiser avatar Jun 26 '24 08:06 MichaReiser