-
Notifications
You must be signed in to change notification settings - Fork 14
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 indent option to dump/dumps #49
Conversation
for more information, see https://pre-commit.ci
@hukkin CI failures are not related to the changes |
Codecov ReportAll modified and coverable lines are covered by tests ✅
❗ Your organization needs to install the Codecov GitHub app to enable full functionality. Additional details and impacted files@@ Coverage Diff @@
## master #49 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 2 2
Lines 125 125
Branches 34 34
=========================================
Hits 125 125 ☔ View full report in Codecov by Sentry. |
Thanks! |
Alternative to #27 (keeps backwards compatibility).
Allows using
tomli_w.dumps(data, indent=2)
similar like stdlibjson.dumps
.