Warn about D203 formatter incompatibility (#12238)

This commit is contained in:
Micha Reiser 2024-07-08 15:12:14 +02:00 committed by GitHub
parent 64855c5f06
commit bf3d903939
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 0 deletions

View File

@ -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);