-
Notifications
You must be signed in to change notification settings - Fork 54
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 JSON and YAML support to configutil #528
Conversation
dissect/target/helpers/configutil.py
Outdated
@@ -20,6 +21,7 @@ | |||
Union, | |||
) | |||
|
|||
import yaml |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What library is this from? A yaml library is not always available, unless Python has one in the standard library these days?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
added guards for it, and improved the logging.
@narimantos I only worked on yaml this round, didn't touch toml yet
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## main #528 +/- ##
==========================================
+ Coverage 73.62% 73.65% +0.02%
==========================================
Files 277 277
Lines 23083 23124 +41
==========================================
+ Hits 16996 17032 +36
- Misses 6087 6092 +5
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
6109468
to
8450cf4
Compare
a5d5a4e
to
4735fd6
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
Co-authored-by: Paul M <22234727+Poeloe@users.noreply.github.com>
4735fd6
to
aa486ff
Compare
(DIS-2160)