ruff/crates/ruff_linter
maltevesper 6fb6478887
[flake8-simplify] Omit select context managers from SIM117 (#8801)
Semantically it makes sense to put certain contextmanagers into separate
with statements. Currently asyncio.timeout and its relatives in anyio
and trio are exempt from SIM117.

Closes https://github.com/astral-sh/ruff/issues/8606

## Summary

Exempt asyncio.timeout and related functions from SIM117 (Collapse with
statements where possible).
See https://github.com/astral-sh/ruff/issues/8606 for more.

## Test Plan

Extended the insta tests.
2023-11-21 11:53:42 +00:00
..
resources/test [flake8-simplify] Omit select context managers from SIM117 (#8801) 2023-11-21 11:53:42 +00:00
src [flake8-simplify] Omit select context managers from SIM117 (#8801) 2023-11-21 11:53:42 +00:00
Cargo.toml Bump version to v0.1.6 (#8744) 2023-11-17 13:29:19 -05:00