tox-dev / toml-fmt

Format Python TOML configurations.
MIT License
3 stars 1 forks source link

Featur Request: use expanded tables for larger entrypoint mapping #5

Open RonnyPfannschmidt opened 3 months ago

RonnyPfannschmidt commented 3 months ago

https://github.com/pypa/setuptools_scm/pull/1028/files illustrates the issue in a practical manner

while for singular/small numbers of entry-points, the inline format is fine, for large numbers its simply unreadable

gaborbernat commented 3 months ago

Should someone put in a pull request for this, I would be happy to accept it. However, rather than be dynamic, I would prefer for the user to need to opt in into this explicitly. I was thinking something along the line of --tables flag with short or long values.