diff --git a/crates/ruff_linter/src/codes.rs b/crates/ruff_linter/src/codes.rs index 61e81adb372d8..b8e8fe5e1748d 100644 --- a/crates/ruff_linter/src/codes.rs +++ b/crates/ruff_linter/src/codes.rs @@ -998,7 +998,7 @@ pub fn code_to_rule(linter: Linter, code: &str) -> Option<(RuleGroup, Rule)> { (Perflint, "203") => (RuleGroup::Stable, rules::perflint::rules::TryExceptInLoop), (Perflint, "401") => (RuleGroup::Stable, rules::perflint::rules::ManualListComprehension), (Perflint, "402") => (RuleGroup::Stable, rules::perflint::rules::ManualListCopy), - (Perflint, "403") => (RuleGroup::Preview, rules::perflint::rules::ManualDictComprehension), + (Perflint, "403") => (RuleGroup::Stable, rules::perflint::rules::ManualDictComprehension), // flake8-fixme (Flake8Fixme, "001") => (RuleGroup::Stable, rules::flake8_fixme::rules::LineContainsFixme), diff --git a/crates/ruff_workspace/src/configuration.rs b/crates/ruff_workspace/src/configuration.rs index d2238f3e4bc6c..63a304602e322 100644 --- a/crates/ruff_workspace/src/configuration.rs +++ b/crates/ruff_workspace/src/configuration.rs @@ -1486,7 +1486,6 @@ mod tests { const PREVIEW_RULES: &[Rule] = &[ Rule::IsinstanceTypeNone, Rule::IfExprMinMax, - Rule::ManualDictComprehension, Rule::ReimplementedStarmap, Rule::SliceCopy, Rule::TooManyPublicMethods,