-
Notifications
You must be signed in to change notification settings - Fork 53
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
Fix inconsistent duplicate field mappings in various plugins #990
base: main
Are you sure you want to change the base?
Conversation
99cf36f
to
6c619b1
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #990 +/- ##
==========================================
- Coverage 77.76% 77.76% -0.01%
==========================================
Files 327 327
Lines 28627 28653 +26
==========================================
+ Hits 22261 22281 +20
- Misses 6366 6372 +6
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
assert results[3].name == "no_int_fields" | ||
assert results[3].last_change is None | ||
assert ( | ||
"Unable to parse last_change shadow value in /etc/shadow: invalid literal for int() with base 10: 'string' ('string')" |
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.
"Unable to parse last_change shadow value in /etc/shadow: invalid literal for int() with base 10: 'string' ('string')" | |
"Unable to parse last_change shadow value in /etc/shadow: invalid literal for int() with base 10: 'string' ('string')" # noqa:E501 |
@@ -69,6 +69,7 @@ def create_record( | |||
create: str, | |||
target: Target, | |||
) -> TargetRecordDescriptor: | |||
|
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.
Black trips over this line during the linting check.
This PR is part of an ongoing effort to fix inconsistencies in record field types across dissect.