mirror of
https://github.com/astral-sh/ruff.git
synced 2025-08-04 18:58:04 +00:00
Stabilize nan-comparison
(PLW0177
) (#18559)
This commit is contained in:
parent
7de8a0b429
commit
2a1fed9327
1 changed files with 1 additions and 1 deletions
|
@ -281,7 +281,7 @@ pub fn code_to_rule(linter: Linter, code: &str) -> Option<(RuleGroup, Rule)> {
|
|||
#[cfg(any(feature = "test-rules", test))]
|
||||
(Pylint, "W0101") => (RuleGroup::Preview, rules::pylint::rules::UnreachableCode),
|
||||
(Pylint, "W0108") => (RuleGroup::Preview, rules::pylint::rules::UnnecessaryLambda),
|
||||
(Pylint, "W0177") => (RuleGroup::Preview, rules::pylint::rules::NanComparison),
|
||||
(Pylint, "W0177") => (RuleGroup::Stable, rules::pylint::rules::NanComparison),
|
||||
(Pylint, "W0120") => (RuleGroup::Stable, rules::pylint::rules::UselessElseOnLoop),
|
||||
(Pylint, "W0127") => (RuleGroup::Stable, rules::pylint::rules::SelfAssigningVariable),
|
||||
(Pylint, "W0128") => (RuleGroup::Stable, rules::pylint::rules::RedeclaredAssignedName),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue