Ruff linter expected to clean up all trailing new lines? #15813
Unanswered
smar-qaleh-saleh
asked this question in
Q&A
Replies: 1 comment
-
Hi
POSIX specifies that text files should end with a newline character (\n), but not multiple newlines. Blank lines at the beginning of a file might be intentional. At least, they're very obvious compared to blank lines at the end of the file |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey so I was wondering since the Ruff linter cleans up the extra / new lines at the end of the code but how comes it does not do the same for trailing new lines towards the beginning of the file?
Beta Was this translation helpful? Give feedback.
All reactions