yapf v0.16.2 Release Notes

Release Date: 2017-05-19 // almost 7 years ago
  • 🛠 Fixed

    • Treat expansion operators ('', '*') in a similar way to function calls to avoid splitting directly after the opening parenthesis.
    • Increase the penalty for splitting after the start of a tuple.
    • Increase penalty for excess characters.
    • Check that we have enough children before trying to access them all.
    • ✂ Remove trailing whitespaces from comments.
    • Split before a function call in a list if the full list isn't able to fit on a single line.
    • Trying not to split around the '=' of a named assign.
    • 🔄 Changed split before the first argument behavior to ignore compound statements like if and while, but not function declarations.
    • 🔄 Changed coalesce brackets not to line split before closing bracket.