yapf v0.31.0 Release Notes

Release Date: 2021-03-14 // over 2 years ago
  • โž• Added

    • ๐Ÿ“‡ Renamed 'master' brannch to 'main'.
    • Add 'BLANK_LINES_BETWEEN_TOP_LEVEL_IMPORTS_AND_VARIABLES' to support setting a custom number of blank lines between top-level imports and variable definitions.
    • Ignore end of line # copybara: directives when checking line length.
    • ๐Ÿ’… Look at the 'pyproject.toml' file to see if it contains style information for YAPF. ### ๐Ÿ”„ Changed
    • Do not scan excluded directories. Prior versions would scan an excluded folder then exclude its contents on a file by file basis. Preventing the folder being scanned is faster. ### ๐Ÿ›  Fixed
    • ๐Ÿ Exclude directories on Windows.