yapf v0.8.1 Release Notes

Release Date: 2016-05-18 // almost 8 years ago
  • 🛠 Fixed

    • 'SPLIT_BEFORE_LOGICAL_OPERATOR' wasn't working correctly. The penalty was being set incorrectly when it was part of a larger construct.
    • Don't separate a keyword, like "await", from a left paren.
    • Don't rely upon the original tokens' line number to determine if we should perform splitting in Facebook mode. The line number isn't the line number of the reformatted token, but the line number where it was in the original code. Instead, we need to carefully determine if the line is liabel to be split and act accordingly.