Closed anthrotype closed 8 years ago
BTW, the Appveyor build did not start automatically -- and actually that was the most important one to check since this patch is kind of Windows specific... (the tests do pass on my local Windows machine).
On the front page of ufoNormalizer, the Appveyor badge is pointing to an Appveyor account owned by @miguelsousa: https://ci.appveyor.com/project/miguelsousa/ufonormalizer/history
Maybe it needs to be @typesupply who needs to set up Appveyor for this repo? I'm not sure...
Since we are writing files in "text" mode, by default Python uses the native
os.linesep
, which on Windows is CR+LF ("\r\n").We want all line endings to be normalized as Unix line feeds. By passing a
newline="\n"
argument toio.open
, we make sure this is the case on every platform, including Windows./cc @moyogo