yamlfix icon indicating copy to clipboard operation
yamlfix copied to clipboard

Keep CRLF/LF line-ending style

Open mdeweerd opened this issue 2 years ago • 1 comments

When fixing a file using the Windows Python versions, the line endings change from LF style to CRLF style, and only when there is some other change in the file.

I suggest to keep the style of the line endings (keep LF or CRLF whatever it was originally) - or enable forcing a line ending.

yamlfix --version

 yamlfix: 1.8.0
 Python: 3.10.9
 Platform: Windows-10-10.0.22621-SP0

mdeweerd avatar Feb 09 '23 18:02 mdeweerd

Hi @mdeweerd thank you for taking the time to open an issue. Sadly giving support to Windows is not on my menu, but if you want to make a PR I'll review it

lyz-code avatar Feb 10 '23 10:02 lyz-code