yapf v0.17.0 Release Notes

Release Date: 2017-08-20 // over 6 years ago
  • โž• Added

    • Option NO_SPACES_AROUND_SELECTED_BINARY_OPERATORS prevents adding spaces around selected binary operators, in accordance with the current style guide. ### ๐Ÿ”„ Changed
    • Adjust blank lines on formatting boundaries when using the --lines option.
    • Return 1 if a diff changed the code. This is in line with how GNU diff acts.
    • โž• Add -vv flag to print out file names as they are processed ### ๐Ÿ›  Fixed
    • Corrected how DEDENT_CLOSING_BRACKETS and COALESCE_BRACKETS interacted.
    • ๐Ÿ›  Fix return value to return a boolean.
    • ๐Ÿ”Œ Correct vim plugin not to clobber edited code if yapf returns an error.
    • Ensured comma-terminated tuples with multiple elements are split onto separate lines.