mirror of
https://github.com/astral-sh/ruff.git
synced 2025-08-03 18:28:56 +00:00
[flake8-logging
] Stabilize root-logger-call
(LOG015
) (#16654)
Summary -- Stabilizes LOG015. The tests and docs looked good. Test Plan -- 1 closed documentation issue from 4 days after the rule was added, but no other issues or PRs.
This commit is contained in:
parent
d15641faea
commit
2f2d72dc95
1 changed files with 1 additions and 1 deletions
|
@ -1136,7 +1136,7 @@ pub fn code_to_rule(linter: Linter, code: &str) -> Option<(RuleGroup, Rule)> {
|
|||
(Flake8Logging, "007") => (RuleGroup::Stable, rules::flake8_logging::rules::ExceptionWithoutExcInfo),
|
||||
(Flake8Logging, "009") => (RuleGroup::Stable, rules::flake8_logging::rules::UndocumentedWarn),
|
||||
(Flake8Logging, "014") => (RuleGroup::Preview, rules::flake8_logging::rules::ExcInfoOutsideExceptHandler),
|
||||
(Flake8Logging, "015") => (RuleGroup::Preview, rules::flake8_logging::rules::RootLoggerCall),
|
||||
(Flake8Logging, "015") => (RuleGroup::Stable, rules::flake8_logging::rules::RootLoggerCall),
|
||||
|
||||
_ => return None,
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue