github tox-dev/toml-fmt pyproject-fmt/2.31.3

latest release: tox-toml-fmt/1.12.3
one hour ago

Bug fixes

  • Keep an empty array on one line when its line exceeds column_width, since splitting it into key = [ and ] does not shorten the line (#570) by @gaborbernat.
  • Add a trailing comma to an array the file already wrote over several lines when it stays multiline because it does not fit column_width (#571) by @gaborbernat.
  • Count the end-of-line comment after an array nested in a multiline array toward column_width, so a line it pushes past the limit now wraps (#569) by @gaborbernat.

Documentation

  • Correct the docs for a trailing * in skip_wrap_for_keys, which also covers keys in sub-tables, and for sub_table_spacing, which applies only in long form. In short form, a table kept by expand_tables sits one blank line below its parent (#572) by @gaborbernat.

🐍 PyPI release

📜 Full Changelog

Don't miss a new toml-fmt release

NewReleases is sending notifications on new releases.