-
Notifications
You must be signed in to change notification settings - Fork 117
[bugfix] Fix failure when check search path contains duplicates #1152
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
[bugfix] Fix failure when check search path contains duplicates #1152
Conversation
* Duplicate check path is not added many times to the load path. * If the recursive option is passed, only the parent path of the checkpaths is used in the load path. * Create the corresponding unit tests.
victorusu
left a comment
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. I just have one question that is very minor.
|
I have some comments on that one, I'll submit my review shortly. |
* Create utility function return the list of unique paths. * Address PR comments.
Codecov Report
@@ Coverage Diff @@
## master #1152 +/- ##
=======================================
Coverage 92.02% 92.02%
=======================================
Files 81 81
Lines 11736 11736
=======================================
Hits 10800 10800
Misses 936 936Continue to review full report at Codecov.
|
Duplicate check path is not added many times to the load path.
If the recursive option is passed, only the parent path of the
checkpaths is used in the load path.
Create the corresponding unit tests.
Fixes #1119