first
override introduced tomlkit wrappers into the configuration and caused serialization problems for the dataclass: https://github.com/pappasam/toml-sort/pull/58
Published by pappasam over 1 year ago
Published by pappasam over 1 year ago
TypeError
Published by pappasam almost 2 years ago
toml-sort
is only compatible with tomlkit
0.11.2
+. We now make this clear in our dependencies. See: https://github.com/pappasam/toml-sort/issues/41 and https://github.com/sdispater/tomlkit/compare/0.11.1...0.11.2.Published by pappasam almost 2 years ago
toml-sort-fix
) that enables users to change, instead of check, their toml files.Published by pappasam almost 2 years ago
Published by pappasam almost 2 years ago
Release entirely related to this PR: https://github.com/pappasam/toml-sort/pull/33
--sort-inline-tables
and --sort-inline-arrays
, which are implied by the existing --all
option--trailing-comma-inline-array
key = value
pairs, always one space on either side of equals signPublished by pappasam almost 2 years ago
This is a pretty big comment-related release. Resolves the long-standing issue: https://github.com/pappasam/toml-sort/issues/11.
--no-comments
, --no-header-comments
, --no-footer-comments
, --no-inline-comments
, --no-block-comments
--spaces-before-inline-comment
--no-header
. This will be removed in a future release and is replaced by --no-header-comments
Published by pappasam almost 2 years ago
Published by pappasam about 2 years ago
Published by pappasam over 2 years ago
pyproject.toml
configuration file.Published by pappasam over 3 years ago
Published by pappasam over 4 years ago
Note: in this release, we've discovered a strange bug (we believe in tomlkit) where, sometimes, AOT elements are ordered without our consent. One of the cli tests has been marked xfail
. If you'd like to help figure out why, we're always looking for contributors!
Published by pappasam almost 5 years ago
CHANGELOG.md
tomlkit>=0.5.8
. Upstream library made some important fixes.isort
, make part of pre-commit pipelinemypy
, pylint
, black
, and isort
all pass.Published by pappasam about 5 years ago
Published by pappasam about 5 years ago
Published by pappasam about 5 years ago
Not a functional release; just adds pypi shields to the readme.
Published by pappasam about 5 years ago
Also, tidies up the containers special case, handling in one place
and simplifying the type interface to only be Item
Published by pappasam about 5 years ago
An edge case involving AoT's returns a Container, not an Item, while recursing. This PR re-adds the Union[Item, Container] handling and adds a test for the case.
It also improves the README.
Published by pappasam about 5 years ago
Add command line option to not print a document's leading comments.
Also, simplifies / shortens the help message (it was too long before)