Closed delucchi-cmu closed 1 month ago
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 99.52%. Comparing base (
8b19bc2
) to head (2b1dd4d
).
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Looks good to me!
I just have a small question, should we be writing the set of unique paths, unique_file_paths
, instead of input_paths
to disk? It doesn't really change the behavior in this case since we create a set on read but it might improve readability.
Looks good to me!
I just have a small question, should we be writing the set of unique paths,
unique_file_paths
, instead ofinput_paths
to disk? It doesn't really change the behavior in this case since we create a set on read but it might improve readability.
I think it would change the behavior, but only in that it would be more correct. Since we're sorting and de-duping before we check, we should use the results of those operations in the write-to-disk.
Change Description
Closes #299
Solution Description
Converts paths to strings before performing comparison, so plain-text strings and Pathlib objects can be compared reasonably. Also, converts both sides into lists for comparisons.
Code Quality
Bug Fix Checklist