Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
zanieb committed Sep 6, 2023
1 parent 67b45f5 commit 7fbe7a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/ruff/src/rule_selector.rs
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ impl RuleSelector {
self.all_rules().filter(move |rule| {
// Always include rules that are not in preview or the nursery
!(rule.is_preview() || rule.is_nursery())
// Backwards compatibility allows selection of nursery rules by exact code or dedicated grooup
// Backwards compatibility allows selection of nursery rules by exact code or dedicated group
|| (matches!(self, RuleSelector::Rule { .. }) || matches!(self, RuleSelector::Nursery { .. }) && rule.is_nursery())
// Enabling preview includes all preview or nursery rules
|| preview.is_enabled()
Expand Down

0 comments on commit 7fbe7a2

Please sign in to comment.