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
This means that formatted files always get LF line endings on most operating systems and CRLF line endings on MS Windows. Would it be possible to either keep the original newlines or add an option to force a specific line ending?
The text was updated successfully, but these errors were encountered:
Because toml-sort does not explicitly pass a
newline
parameter toopen()
incli.read_file()
andcli.write_file()
, Python defaults to universal newlines mode.This means that formatted files always get LF line endings on most operating systems and CRLF line endings on MS Windows. Would it be possible to either keep the original newlines or add an option to force a specific line ending?
The text was updated successfully, but these errors were encountered: