yapf v0.18.0 Release Notes
Release Date: 2017-09-18 // over 6 years ago-
โ Added
- Option
ALLOW_SPLIT_BEFORE_DICT_VALUE
allows a split before a value. If False, then it won't be split even if it goes over the column limit. ### ๐ Changed - ๐ Use spaces around the '=' in a typed name argument to align with 3.6 syntax. ### ๐ Fixed
- ๐ Allow semicolons if the line is disabled.
- ๐ Fix issue where subsequent comments at decreasing levels of indentation were improperly aligned and/or caused output with invalid syntax.
- ๐ Fix issue where specifying a line range removed a needed line before a comment.
- ๐ Fix spacing between unary operators if one is 'not'.
- Indent the dictionary value correctly if there's a multi-line key.
- ๐ Don't remove needed spacing before a comment in a dict when in "chromium" style.
- Increase indent for continuation line with same indent as next logical line with 'async with' statement.
- Option