Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NOTICE: Upcoming style change -- no more AoTs #59

Open
hukkin opened this issue Oct 8, 2024 · 2 comments
Open

NOTICE: Upcoming style change -- no more AoTs #59

hukkin opened this issue Oct 8, 2024 · 2 comments

Comments

@hukkin
Copy link
Owner

hukkin commented Oct 8, 2024

When toml-lang/toml#904 goes into a TOML spec release I plan to tweak Tomli-W's formatting by reverting the changes that make it write "arrays of tables", starting with PR #15. Instead I plan to write "multi line inline tables" when there is a table within an array.

This should:

@hukkin
Copy link
Owner Author

hukkin commented Nov 20, 2024

Note to self: Consider #25 for both arrays and inline tables together with this change.

@hukkin
Copy link
Owner Author

hukkin commented Jan 21, 2025

Another note to self: This change shouldn't be made in this package until:

  • tomllib standard library implements a TOML spec that includes "multi line inline tables"
  • EOL date of last Python version that doesn't support the new spec

So very far in the future.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant