-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
fix(expand_modules): pass ignore_list to modutils.get_module_files #10720
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(expand_modules): pass ignore_list to modutils.get_module_files #10720
Conversation
This comment has been minimized.
This comment has been minimized.
Codecov Reportβ
All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #10720 +/- ##
=======================================
Coverage 95.98% 95.98%
=======================================
Files 176 176
Lines 19540 19540
=======================================
Hits 18755 18755
Misses 785 785
π New features to boost your workflow:
|
This comment has been minimized.
This comment has been minimized.
|
Thank you great PR, and great catch. |
|
@Pierre-Sassoulas , what is keeping us from merging this? If there is any more work to be done, I'd like to get it done :) The linked issue is labeled 'high priority' and this PR effectively restores functionality. |
|
Yeah sorry I wanted to release this asap but I need to reproduce the bug and test the fix which I wasn't able to. Adding an automated test, if at all possible, would help. |
e9768d2 to
cf5a9e6
Compare
for more information, see https://pre-commit.ci
for more information, see https://pre-commit.ci
|
Thanks for letting me know, I attempted to write a test for it, I used the repro steps from the linked issue, added this under regrtest_data and then point to that in the test_expand_modules.py test-file. The test passes, but if you revert my change, the test fails, because it would return the test/init.py file as well. The |
|
π€ According to the primer, this change has no effect on the checked open source code. π€π This comment was generated for commit f75ffd0 |
Pierre-Sassoulas
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.
Great, thank you !
|
Congratulation on becoming a pylint contributor, on a very impactful issue too π |
β¦ modutils.get_module_files (#10740) fix(expand_modules): pass ignore_list to modutils.get_module_files (#10720) (cherry picked from commit cd2839d) Co-authored-by: shifqu <[email protected]>
Type of Changes
Description
Closes #10669