-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Closed
Labels
ruleImplementing or modifying a lint ruleImplementing or modifying a lint rule
Milestone
Description
unnecessary-dict-comprehension-for-iterable (RUF025) now exists as a flake8-comprehensions rule (adamchainz/flake8-comprehensions#553).
Although C420 has not been implemented yet, it would make sense (and seems to match what has been done before) to merge the rules in favour of the flake8 plugin. Although the rule request was made to Ruff first (#9592, adamchainz/flake8-comprehensions#552), my understanding is that Ruff favours strong coupling to flake8.
search terms: RUF025, flake8-comprehensions, duplicate, duplication
Related to #2714
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
ruleImplementing or modifying a lint ruleImplementing or modifying a lint rule