mirror of
https://github.com/astral-sh/ruff
synced 2026-01-21 05:20:49 -05:00
If a user has `import collections, functools, operator`, and we try to import from `functools` and `operator`, we end up adding two identical synthetic edits to preserve that import statement. We need to dedupe them. Closes https://github.com/astral-sh/ruff/issues/7059.