- update to 0.30.0 * Added `SPACES_AROUND_LIST_DELIMITERS`, `SPACES_AROUND_DICT_DELIMITERS`, and `SPACES_AROUND_TUPLE_DELIMITERS` to add spaces after the opening and before the closing delimiters for lists, dicts, and tuples. * Adds `FORCE_MULTILINE_DICT` knob to ensure dictionaries always split, even when shorter than the max line length. * New knob `SPACE_INSIDE_BRACKETS` to add spaces inside brackets, braces, and parentheses. * New knob `SPACES_AROUND_SUBSCRIPT_COLON` to add spaces around the subscript / slice operator. * Renamed "chromium" style to "yapf". Chromium will now use PEP-8 directly. * `CONTINUATION_ALIGN_STYLE` with `FIXED` or `VALIGN-RIGHT` now works with space indentation. * Don't over-indent a parameter list when not needed. But make sure it is properly indented so that it doesn't collide with the lines afterwards. * Don't split between two-word comparison operators: "is not", "not in", etc. - Replace nose with pytest * not WLOG, some tests get skipped because of capturing stdin OBS-URL: https://build.opensuse.org/request/show/810164 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-yapf?expand=0&rev=17
4 lines
131 B
Plaintext
4 lines
131 B
Plaintext
version https://git-lfs.github.com/spec/v1
|
|
oid sha256:3000abee4c28daebad55da6c85f3cd07b8062ce48e2e9943c8da1b9667d48427
|
|
size 187854
|