Skip to content

Commit

Permalink
Improve prefix comments
Browse files Browse the repository at this point in the history
  • Loading branch information
zanieb committed Sep 8, 2023
1 parent f66f2ac commit 8421200
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions crates/ruff/src/rule_selector.rs
Original file line number Diff line number Diff line change
Expand Up @@ -330,13 +330,13 @@ pub enum Specificity {
LinterGroup,
/// The specificity when selecting a linter (e.g., `--select PLE` or `--select UP`).
Linter,
/// The specificity when selecting via a rule prefix at one-character depth (e.g., `--select PLE1`).
/// The specificity when selecting via a rule prefix with a one-character code (e.g., `--select PLE1`).
Prefix1Char,
/// The specificity when selecting via a rule prefix at two-character depth (e.g., `--select PLE12`).
/// The specificity when selecting via a rule prefix with a two-character code (e.g., `--select PLE12`).
Prefix2Chars,
/// The specificity when selecting via a rule prefix at one-character depth (e.g., `--select PLE120`).
/// The specificity when selecting via a rule prefix with a three-character code (e.g., `--select PLE123`).
Prefix3Chars,
/// The specificity when selecting via a rule prefix at one-character depth (e.g., `--select PLE120`).
/// The specificity when selecting via a rule prefix with a four-character code (e.g., `--select PLE1234`).
Prefix4Chars,
/// The specificity when selecting an individual rule (e.g., `--select PLE1205`).
Rule,
Expand Down

0 comments on commit 8421200

Please sign in to comment.