mirror of https://github.com/astral-sh/ruff
## 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 | ||