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
{{ message }}
Repository navigation
file-contents-sorter adds an extra blank line if the file to be sorted is empty #935
The files are intentionally empty – I'm in the planning stage, they are just placeholders for requriements1.
To the point: file-contents-sorter adds an extra blank to them, what results in a confict with end-of-file-fixer. I am not sure if that is the expected behavior... Updating args doesn't have any effect.
$ git:(install-and-configure-pre-commit) : pre-commit run --all-files
fix end of files.........................................................Failed
- hook id: end-of-file-fixer
- exit code: 1
- files were modified by this hook
Fixing requirements/build.in
Fixing requirements/lint.in
Fixing requirements/test.in
file contents sorter.....................................................Failed
- hook id: file-contents-sorter
- exit code: 1
- files were modified by this hook
Sorting requirements/build.in
Sorting requirements/lint.in
Sorting requirements/test.in
Footnotes
Yes, I know that I can use requirements-txt-fixer particularly for requirements. 😄 I will do. For that issue it doesn't matter. ↩
Activity
feat: add 10 ground-truth validated real-repo pressure test projects