yapf v0.6.1 Release Notes

Release Date: 2015-10-24 // over 8 years ago
  • ๐Ÿ›  Fixed

    • ๐Ÿ‘‰ Make sure to align comments in data literals correctly. Also make sure we don't count a "#." in a string as an i18n comment.
    • Retain proper vertical spacing before comments in a data literal.
    • ๐Ÿ‘‰ Make sure that continuations from a compound statement are distinguished from the succeeding line.
    • Ignore preceding comments when calculating what is a "dictionary maker".
    • โž• Add a small penalty for splitting before a closing bracket.
    • ๐Ÿšš Ensure that a space is enforced after we remove a pseudo-paren that's between two names, keywords, numbers, etc.
    • Increase the penalty for splitting after a pseudo-paren. This could lead to less readable code in some circumstances.