mirror of
https://github.com/astral-sh/ruff.git
synced 2025-09-28 21:05:08 +00:00
[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:
parent
688177ff6a
commit
9027169125
18 changed files with 2616 additions and 3 deletions
|
@ -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)]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue