mirror of
https://github.com/astral-sh/ruff.git
synced 2025-10-09 10:00:25 +00:00
![]() ## Summary Check that the sequence type is a list, set, dict, or tuple before recommending replacing the `enumerate(...)` call with `range(len(...))`. Document behaviour so users are aware of the type inference limitation leading to false negatives. Closes #7656. |
||
---|---|---|
.. | ||
function_type.rs | ||
logging.rs | ||
mod.rs | ||
type_inference.rs | ||
typing.rs | ||
visibility.rs |