Charlie Marsh
d97c07818e
Update flake8-to-ruff to include latest plugins ( #2127 )
...
Closes #2124 (along with a release).
2023-01-24 08:39:58 -05:00
Martin Fischer
f5ddec0fb3
refactor: Move resolve_select to converter module
...
The function is only used there and is not plugin-specific
since it also specifies the default rule selectors (F, E, W).
2023-01-24 07:37:34 -05:00
Martin Fischer
4f12b31dc8
refactor: Drop RuleSelector::codes in favor of IntoIterator impl
2023-01-22 11:51:29 -05:00
Martin Fischer
9f14e7c830
refactor: Update some variable/field/method names
2023-01-22 11:51:29 -05:00
Martin Fischer
b19258a243
refactor: Rename RuleCodePrefix to RuleSelector
...
More accurate since the enum also encompasses:
* ALL (which isn't a prefix at all)
* fully-qualified rule codes (which aren't prefixes unless you say
they're a prefix to the empty string but that's not intuitive)
2023-01-20 20:25:57 -05:00
Martin Fischer
cfa25ea4b0
Make ruff::rules private
2023-01-14 18:23:59 -05:00