mirror of https://github.com/astral-sh/ruff
Warn about D203 formatter incompatibility (#12238)
This commit is contained in:
parent
64855c5f06
commit
bf3d903939
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in New Issue