Skip to content

Commit d645525

Browse files
committed
[pylint]: Stabilize boolean-chained-comparison (PLR1716) (#15354)
1 parent 6dcf7b3 commit d645525

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/ruff_linter/src/codes.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ pub fn code_to_rule(linter: Linter, code: &str) -> Option<(RuleGroup, Rule)> {
259259
(Pylint, "R1714") => (RuleGroup::Stable, rules::pylint::rules::RepeatedEqualityComparison),
260260
(Pylint, "R1722") => (RuleGroup::Stable, rules::pylint::rules::SysExitAlias),
261261
(Pylint, "R1730") => (RuleGroup::Stable, rules::pylint::rules::IfStmtMinMax),
262-
(Pylint, "R1716") => (RuleGroup::Preview, rules::pylint::rules::BooleanChainedComparison),
262+
(Pylint, "R1716") => (RuleGroup::Stable, rules::pylint::rules::BooleanChainedComparison),
263263
(Pylint, "R1733") => (RuleGroup::Preview, rules::pylint::rules::UnnecessaryDictIndexLookup),
264264
(Pylint, "R1736") => (RuleGroup::Stable, rules::pylint::rules::UnnecessaryListIndexLookup),
265265
(Pylint, "R2004") => (RuleGroup::Stable, rules::pylint::rules::MagicValueComparison),

0 commit comments

Comments
 (0)