mirror of
https://github.com/astral-sh/ruff.git
synced 2025-09-29 13:25:17 +00:00
![]() ## Summary Ensures that, e.g., the following is not considered a redefinition-without-use: ```python import contextlib foo = None with contextlib.suppress(ImportError): from some_module import foo ``` Closes https://github.com/astral-sh/ruff/issues/12309. |
||
---|---|---|
.. | ||
resources | ||
src | ||
__init__.py | ||
Cargo.toml |