Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[flake8-logging] Add flake8_logging boilerplate and first rule LOG009 #7249

Merged
merged 8 commits into from
Sep 15, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Add as preview
  • Loading branch information
charliermarsh committed Sep 15, 2023
commit 5a53da52330beff5d7328b4b58e40de3113ba97f
6 changes: 5 additions & 1 deletion crates/ruff_workspace/src/configuration.rs
Original file line number Diff line number Diff line change
Expand Up @@ -852,7 +852,11 @@ mod tests {
Rule::QuadraticListSummation,
];

const PREVIEW_RULES: &[Rule] = &[Rule::TooManyPublicMethods, Rule::SliceCopy];
const PREVIEW_RULES: &[Rule] = &[
Rule::TooManyPublicMethods,
Rule::SliceCopy,
Rule::UndocumentedWarn,
];

#[allow(clippy::needless_pass_by_value)]
fn resolve_rules(
Expand Down
2 changes: 2 additions & 0 deletions ruff.schema.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading