Skip to content

Commit 9960b99

Browse files
dylwil3ntBre
authored andcommitted
Stabilize nan-comparison (PLW0177) (#18559)
1 parent da52f70 commit 9960b99

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/ruff_linter/src/codes.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,7 @@ pub fn code_to_rule(linter: Linter, code: &str) -> Option<(RuleGroup, Rule)> {
281281
#[cfg(any(feature = "test-rules", test))]
282282
(Pylint, "W0101") => (RuleGroup::Preview, rules::pylint::rules::UnreachableCode),
283283
(Pylint, "W0108") => (RuleGroup::Preview, rules::pylint::rules::UnnecessaryLambda),
284-
(Pylint, "W0177") => (RuleGroup::Preview, rules::pylint::rules::NanComparison),
284+
(Pylint, "W0177") => (RuleGroup::Stable, rules::pylint::rules::NanComparison),
285285
(Pylint, "W0120") => (RuleGroup::Stable, rules::pylint::rules::UselessElseOnLoop),
286286
(Pylint, "W0127") => (RuleGroup::Stable, rules::pylint::rules::SelfAssigningVariable),
287287
(Pylint, "W0128") => (RuleGroup::Stable, rules::pylint::rules::RedeclaredAssignedName),

0 commit comments

Comments
 (0)