ruff/crates/ruff_linter/resources/test/fixtures/pycodestyle/W391_4.py
Auguste Lalande b117f33075
[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
2024-03-11 22:07:59 -04:00

5 lines
55 B
Python

# This is fine
def foo():
pass
# Some comment