mirror of
https://github.com/astral-sh/ruff.git
synced 2025-09-28 21:05:08 +00:00
[flake8-logging
] Implement LOG001
: direct-logger-instantiation
(#7397)
## Summary See: https://github.com/astral-sh/ruff/issues/7248.
This commit is contained in:
parent
6163c99551
commit
450fb9b99a
11 changed files with 135 additions and 2 deletions
|
@ -853,9 +853,11 @@ mod tests {
|
|||
];
|
||||
|
||||
const PREVIEW_RULES: &[Rule] = &[
|
||||
Rule::DirectLoggerInstantiation,
|
||||
Rule::ManualDictComprehension,
|
||||
Rule::TooManyPublicMethods,
|
||||
Rule::SliceCopy,
|
||||
Rule::TooManyPublicMethods,
|
||||
Rule::TooManyPublicMethods,
|
||||
Rule::UndocumentedWarn,
|
||||
];
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue