Files
ruff/crates/ruff_python_ast/src
Charlie Marsh 0304623878 [perflint] Catch a wider range of mutations in PERF101 (#9955)
## Summary

This PR ensures that if a list `x` is modified within a `for` loop, we
avoid flagging `list(x)` as unnecessary. Previously, we only detected
calls to exactly `.append`, and they couldn't be nested within other
statements.

Closes https://github.com/astral-sh/ruff/issues/9925.
2024-02-12 12:17:55 -05:00
..
2023-07-27 09:29:11 +00:00
2024-01-08 18:03:16 +01:00
2023-08-07 16:04:50 +00:00