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

Add support for TOML config files #289

Merged
merged 1 commit into from
Oct 4, 2023
Merged

Conversation

diggerk
Copy link
Contributor

@diggerk diggerk commented Sep 30, 2023

It'd be nice to support configs in the TOML format in addition to all the other formats that are supported already.

This PR adds the the depedencies for tomli and tomli-w as extras, creates a new FormatExtension and a small unit test. I've only tested this so far by running the unit test and checking that the created TOML file looks reasonable.

@diggerk
Copy link
Contributor Author

diggerk commented Oct 3, 2023

Hi @lebrice , can you take a look at this please?

Copy link
Owner

@lebrice lebrice left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome, thanks @diggerk !

@lebrice lebrice linked an issue Oct 4, 2023 that may be closed by this pull request
@lebrice lebrice merged commit bccb312 into lebrice:master Oct 4, 2023
5 of 6 checks passed
@diggerk diggerk deleted the toml_configs branch October 4, 2023 16:17
@diggerk
Copy link
Contributor Author

diggerk commented Jan 26, 2024

Hi @lebrice , do you have plans on cutting a new release? We really want to have this feature released. Thanks!

@lebrice
Copy link
Owner

lebrice commented Jan 31, 2024

Hey, sure, I can make a new release. Thanks for the reminder!

@lebrice
Copy link
Owner

lebrice commented Jan 31, 2024

Done @diggerk

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.

Add TOML serialization support
3 participants