yapf v0.8.0 Release Notes

Release Date: 2016-05-10 // almost 8 years ago
  • ➕ Added

    • Add a knob, 'SPACES_AROUND_POWER_OPERATOR', to allow adding spaces around the power operator.

    🛠 Fixed

    • There shouldn't be a space between a decorator and an intervening comment.
    • If we split before a bitwise operator, then we assume that the programmer knows what they're doing, more or less, and so we enforce a split before said operator if one exists in the original program.
    • Strengthen the bond between a keyword and value argument.
    • Don't add a blank line after a multiline string.
    • If the "for" part of a list comprehension can exist on the starting line without going over the column limit, then let it remain there.