You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
I found that the end-of-file-fixer check is very common (recommended) and used in most of the big Python based organizations including Paddle, scikit-learn, mindsbd, jax, pandas, etc. So, it will be nice to have it in our codebase.
Benefits
It can help to prevent errors, as some programs may rely on the presence of a newline character at the end of a file.
It can help to ensure that files are consistent with each other, as all files in a repository should have the same end-of-file style.
Describe the solution you'd like
The solution would be to update the .pre-commit-config.yaml file by adding this check. Similar to the checks I introduced in this Pull Request.
Describe alternatives you've considered
Additional context
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
I found that the end-of-file-fixer check is very common (recommended) and used in most of the big
Python
based organizations including Paddle, scikit-learn, mindsbd, jax, pandas, etc. So, it will be nice to have it in our codebase.Benefits
It can help to prevent errors, as some programs may rely on the presence of a newline character at the end of a file.
It can help to ensure that files are consistent with each other, as all files in a repository should have the same end-of-file style.
Describe the solution you'd like
The solution would be to update the
.pre-commit-config.yaml
file by adding this check. Similar to the checks I introduced in this Pull Request.Describe alternatives you've considered
Additional context
The text was updated successfully, but these errors were encountered: