yapf v0.11.1 Release Notes

Release Date: 2016-08-17 // over 7 years ago
  • ๐Ÿ”„ Changed

    • Issue #228: Return exit code 0 on success, regardless of whether files were changed. (Previously, 0 meant success with no files modified, and 2 meant success with at least one file modified.)

    ๐Ÿ›  Fixed

    • Enforce splitting each element in a dictionary if comma terminated.
    • It's okay to split in the middle of a dotted name if the whole expression is going to go over the column limit.
    • Asynchronous functions were going missing if they were preceded by a comment (a what? exactly). The asynchronous function processing wasn't taking the comment into account and thus skipping the whole function.
    • The splitting of arguments when comma terminated had a conflict. The split penalty of the closing bracket was set to the maximum, but it shouldn't be if the closing bracket is preceded by a comma.