[pycodestyle] Add blank line(s) rules (E301, E302, E303, E304, E305, E306) (#9266)

Co-authored-by: Micha Reiser <micha@reiser.io>
This commit is contained in:
Hoël Bagard 2024-02-09 03:35:08 +09:00 committed by GitHub
parent 688177ff6a
commit 9027169125
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
18 changed files with 2616 additions and 3 deletions

View file

@ -1483,6 +1483,12 @@ mod tests {
Rule::UnnecessaryEnumerate,
Rule::MathConstant,
Rule::PreviewTestRule,
Rule::BlankLineBetweenMethods,
Rule::BlankLinesTopLevel,
Rule::TooManyBlankLines,
Rule::BlankLineAfterDecorator,
Rule::BlankLinesAfterFunctionOrClass,
Rule::BlankLinesBeforeNestedDefinition,
];
#[allow(clippy::needless_pass_by_value)]