ruff/crates/ruff_linter
Auguste Lalande 16a63c88cf
[`flake8-async`] Update `ASYNC109` to match upstream (#12236)
## Summary

Update the name of `ASYNC109` to match
[upstream](https://flake8-async.readthedocs.io/en/latest/rules.html).

Also update to the functionality to match upstream by supporting
additional context managers from `asyncio` and `anyio`. This doesn't
change any of the detection functionality, but recommends additional
context managers from `asyncio` and `anyio` depending on context.

Part of https://github.com/astral-sh/ruff/issues/12039.

## Test Plan

Added fixture for asyncio recommendation
2024-07-09 04:14:27 +00:00
..
resources [`flake8-async`] Update `ASYNC109` to match upstream (#12236) 2024-07-09 04:14:27 +00:00
src [`flake8-async`] Update `ASYNC109` to match upstream (#12236) 2024-07-09 04:14:27 +00:00
Cargo.toml Bump version to 0.5.1 (#12205) 2024-07-05 18:33:14 +05:30
__init__.py [`pylint`] (Re-)Implement `import-private-name` (`C2701`) (#9553) 2024-01-16 14:03:11 -05:00