1. 03 Haz, 2019 1 kayıt (commit)
    • Jake Kaufman's avatar
      Add '-' param to read from stdin · 00d404e4
      Jake Kaufman yazdı
      Tools like ALE and so forth generally pass the buffer of the editor
      directly to the tool to edit and expect to read it back on stdout. I've
      added the `-` to signal to add-trailing-comma to read data from stdin
      and output to stdout.
      
      I modeled this mostly off of black. Black doesn't have any error
      handling around passing multiple files and `-`. Black also only briefly
      mentions it in the docs.
      
      I've also added a basic tests to check that a (mocked) stdin works.
      00d404e4
  2. 22 Mar, 2019 1 kayıt (commit)
  3. 07 Şub, 2019 1 kayıt (commit)
  4. 07 Eki, 2018 1 kayıt (commit)
  5. 03 Eyl, 2018 1 kayıt (commit)
  6. 02 Eyl, 2018 1 kayıt (commit)
  7. 06 Haz, 2018 1 kayıt (commit)
  8. 28 Tem, 2017 1 kayıt (commit)
    • Evan Hubinger's avatar
      Support Windows line endings (#33) · a5deaba9
      Evan Hubinger yazdı
      * Support Windows line endings
      
      Previously, since the file was opened as bytes but written as text, \r\n
      got written as \r\r\n, since it read in \r\n as bytes, passed through
      the \r, then wrote out \r\n as text, which automatically transforms \n
      into \r\n on Windows, resulting in \r\r\n. This commit fixes that.
      
      * Improve line ending handling
      
      * Add appveyor config
      
      * Remove all newline translation
      
      * Remove newline arg from binary open
      
      * Add regression test and make requested change
      a5deaba9
  9. 26 Tem, 2017 1 kayıt (commit)
  10. 19 Tem, 2017 1 kayıt (commit)
  11. 18 Tem, 2017 2 kayıt (commit)
  12. 17 Tem, 2017 2 kayıt (commit)
  13. 16 Tem, 2017 2 kayıt (commit)
  14. 15 Tem, 2017 4 kayıt (commit)
  15. 14 Tem, 2017 6 kayıt (commit)
  16. 12 Tem, 2017 4 kayıt (commit)
  17. 11 Tem, 2017 1 kayıt (commit)
  18. 10 Tem, 2017 3 kayıt (commit)
  19. 06 Tem, 2017 1 kayıt (commit)