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

Omit values that are formatted equally to the default #36

Merged
merged 2 commits into from
Jul 26, 2023

Conversation

mthuurne
Copy link
Member

This avoids outputting a value with equal to the default in cases where the Python object is unequal but the TOML representation is, for example when the default is a tuple but the actual value is a list containing the same elements.

Closes #32

mthuurne added 2 commits July 25, 2023 20:18
This avoids outputting a value with equal to the default in cases
where the Python object is unequal but the TOML representation is,
for example when the default is a `tuple` but the actual value is
a `list` containing the same elements.

Closes #32
@mthuurne mthuurne merged commit 3036e1f into main Jul 26, 2023
@mthuurne mthuurne deleted the sequence-default-check branch July 26, 2023 22:02
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

Successfully merging this pull request may close these issues.

Compare TOML serialization to default value
1 participant