-
-
Notifications
You must be signed in to change notification settings - Fork 23
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
Refactored configuration file updating. #101
Refactored configuration file updating. #101
Conversation
- Also made all attributes required except `filename`, `glob`, and `key_path`
TOML files are parsed, specific values are updated, and re-written to avoid updating the wrong data. It uses a two-way parser, so all formatting and comments are maintained. INI-type configuration files use the old way, since that format is deprecated.
for more information, see https://pre-commit.ci
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## next #101 +/- ##
==========================================
- Coverage 93.59% 91.71% -1.89%
==========================================
Files 15 18 +3
Lines 1078 1159 +81
Branches 169 175 +6
==========================================
+ Hits 1009 1063 +54
- Misses 46 66 +20
- Partials 23 30 +7
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
TOML files are parsed, specific values are updated, and re-written to avoid updating the wrong data.
It uses a two-way parser, so all formatting and comments are maintained.
INI-type configuration files use the old way since that format is deprecated.
Fixes #93