mirror of
https://github.com/astral-sh/ruff.git
synced 2025-07-09 22:25:09 +00:00
[pycodestyle
] Implement blank-line-at-end-of-file
(W391
) (#10243)
## Summary Implements the [blank line at end of file](https://pycodestyle.pycqa.org/en/latest/intro.html#error-codes) rule (W391) from pycodestyle. Renamed to TooManyNewlinesAtEndOfFile for clarity. ## Test Plan New fixtures have been added Part of #2402
This commit is contained in:
parent
c746912b9e
commit
b117f33075
20 changed files with 232 additions and 1 deletions
|
@ -105,6 +105,7 @@ KNOWN_PARSE_ERRORS = [
|
|||
"tab-after-operator",
|
||||
"tab-before-keyword",
|
||||
"tab-before-operator",
|
||||
"too-many-newlines-at-end-of-file",
|
||||
"trailing-whitespace",
|
||||
"unexpected-indentation",
|
||||
]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue