tox-dev / pyproject-fmt-rust

MIT License
11 stars 7 forks source link

Leaves empty tables behind #24

Closed edgarrmondragon closed 4 months ago

edgarrmondragon commented 4 months ago

I've yet to come up with a MRE, but I recently got a pre-commit autoupdate PR that made this change: https://github.com/meltano/tap-smoke-test/pull/156/commits/b043671044a311c38dbfd2a018d4ae925497f664.

You can notice there how [tool.ruff.lint.isort] (and a few others) are left empty, but there's a corresponding lint.isort.required-imports = ... inline key created in the parent table. This breaks TOML parsing.