yapf v0.21.0 Release Notes

Release Date: 2018-03-18 // about 6 years ago
  • ➕ Added

    • Introduce a new option of formatting multiline literals. Add SPLIT_BEFORE_CLOSING_BRACKET knob to control whether closing bracket should get their own line.
    • Added CONTINUATION_ALIGN_STYLE knob to choose continuation alignment style when USE_TABS is enabled.
    • Add 'BLANK_LINES_AROUND_TOP_LEVEL_DEFINITION' knob to control the number of blank lines between top-level function and class definitions. ### 🛠 Fixed
    • Don't split ellipses.