mirror of
https://github.com/astral-sh/ruff.git
synced 2025-09-28 21:05:08 +00:00
[ruff
] Stabilize map-int-version-parsing
(RUF048
) (#16653)
Summary -- Stabilizes RUF048 and moves its test to the right place. The docs look good. Test Plan -- 0 closed or open issues. There was 1 [PR] related to an extension to the rule, but it was closed without comment. [PR]: https://github.com/astral-sh/ruff/pull/14701
This commit is contained in:
parent
9b1b3c1859
commit
d15641faea
4 changed files with 3 additions and 3 deletions
|
@ -1003,7 +1003,7 @@ pub fn code_to_rule(linter: Linter, code: &str) -> Option<(RuleGroup, Rule)> {
|
|||
(Ruff, "045") => (RuleGroup::Preview, rules::ruff::rules::ImplicitClassVarInDataclass),
|
||||
(Ruff, "046") => (RuleGroup::Stable, rules::ruff::rules::UnnecessaryCastToInt),
|
||||
(Ruff, "047") => (RuleGroup::Preview, rules::ruff::rules::NeedlessElse),
|
||||
(Ruff, "048") => (RuleGroup::Preview, rules::ruff::rules::MapIntVersionParsing),
|
||||
(Ruff, "048") => (RuleGroup::Stable, rules::ruff::rules::MapIntVersionParsing),
|
||||
(Ruff, "049") => (RuleGroup::Preview, rules::ruff::rules::DataclassEnum),
|
||||
(Ruff, "051") => (RuleGroup::Preview, rules::ruff::rules::IfKeyInDictDel),
|
||||
(Ruff, "052") => (RuleGroup::Preview, rules::ruff::rules::UsedDummyVariable),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue