Skip to content

Commit

Permalink
Merge branch 'main' into 20240708-1515
Browse files Browse the repository at this point in the history
  • Loading branch information
charliermarsh committed Jul 9, 2024
2 parents 75e6525 + bf3d903 commit b9438eb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions crates/ruff/src/commands/format.rs
Original file line number Diff line number Diff line change
Expand Up @@ -794,6 +794,8 @@ pub(super) fn warn_incompatible_formatter_settings(resolver: &Resolver) {
// pass
// ```
Rule::MissingTrailingComma,
// The formatter always removes blank lines before the docstring.
Rule::OneBlankLineBeforeClass,
] {
if setting.linter.rules.enabled(rule) {
incompatible_rules.insert(rule);
Expand Down

0 comments on commit b9438eb

Please sign in to comment.