mirror of
https://github.com/astral-sh/ruff.git
synced 2025-10-22 00:01:56 +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
|
@ -32,6 +32,11 @@ KNOWN_FORMATTING_VIOLATIONS = [
|
|||
"bad-quotes-docstring",
|
||||
"bad-quotes-inline-string",
|
||||
"bad-quotes-multiline-string",
|
||||
"blank-line-after-decorator",
|
||||
"blank-line-between-methods",
|
||||
"blank-lines-after-function-or-class",
|
||||
"blank-lines-before-nested-definition",
|
||||
"blank-lines-top-level",
|
||||
"explicit-string-concatenation",
|
||||
"indent-with-spaces",
|
||||
"indentation-with-invalid-multiple",
|
||||
|
@ -68,6 +73,7 @@ KNOWN_FORMATTING_VIOLATIONS = [
|
|||
"surrounding-whitespace",
|
||||
"tab-indentation",
|
||||
"too-few-spaces-before-inline-comment",
|
||||
"too-many-blank-lines",
|
||||
"too-many-boolean-expressions",
|
||||
"trailing-comma-on-bare-tuple",
|
||||
"triple-single-quotes",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue