ruff/ruff_cli/src
Martin Fischer abc9810e2b refactor: Turn RuleSelector into a newtype around RuleCodePrefix
Yet another refactor to let us implement the many-to-many mapping
between codes and rules in a prefix-agnostic way.

We want to break up the RuleCodePrefix[1] enum into smaller enums.
To facilitate that this commit  introduces a new wrapping type around
RuleCodePrefix so that we can start breaking it apart.

[1]: Actually `RuleCodePrefix` is the previous name of the autogenerated
enum ... I renamed it in b19258a243 to
RuleSelector since `ALL` isn't a prefix. This commit now renames it back
but only because the new `RuleSelector` wrapper type, introduced in this
commit, will let us move the `ALL` variant from `RuleCodePrefix` to
`RuleSelector` in the next commit.
2023-01-24 09:26:19 -05:00
..
cache.rs Include package path in cache key (#2077) 2023-01-21 18:33:35 -05:00
cli.rs refactor: Turn RuleSelector into a newtype around RuleCodePrefix 2023-01-24 09:26:19 -05:00
commands.rs refactor: Rename ParseCode trait to RuleNamespace 2023-01-22 11:51:29 -05:00
diagnostics.rs Include package path in cache key (#2077) 2023-01-21 18:33:35 -05:00
iterators.rs Split off ruff_cli crate from ruff library 2023-01-13 21:37:54 -05:00
lib.rs Add top-level doc comments for crates 2023-01-14 10:11:30 -05:00
main.rs Fix that --explain panics 2023-01-19 12:58:44 -05:00
printer.rs Added pylint formatter (#1995) 2023-01-19 08:01:27 -05:00
updates.rs Split off ruff_cli crate from ruff library 2023-01-13 21:37:54 -05:00