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
andCOALESCE_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.
- Option