Report extraction-relative source paths from artifact_processor#85
Merged
Conversation
Mirror of ALEAPP #931 / iLEAPP #1656: shorten source_path centrally in the decorator via Context.get_relative_path (per newline segment, passthrough for literals/relative paths/no-data_folder runs), so reports show extraction-relative paths instead of the examiner's local filesystem. Also clears the file's pre-existing lint debt to 10.00 with zero-behavior -change treatments (explicit datetime imports, shadowed-name local renames, dead-code removal, inline pragmas for API-sensitive params).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Mirror of ALEAPP #931 and iLEAPP #1656:
artifact_processornow passes every returnedsource_paththroughContext.get_relative_path()(per newline segment), so reports show extraction-relative paths instead of the examiner's local filesystem. Passthrough semantics keep literals, already-relative paths, and no-data_folder runs untouched.Also clears
ilapfuncs.py's pre-existing lint debt to 10.00/10 with zero-behavior-change treatments, same approach as the sibling PRs.Testing: shorten-logic unit tests pass; pylint 10.00/10; byte-compile; PluginLoader registers all plugins;
timezone/datetimere-exports verified.