-
Notifications
You must be signed in to change notification settings - Fork 92
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
[MRG] _return_root_paths now only looks in subfolders of root starting with 'sub-' #1253
Conversation
Hello! 👋 Thanks for opening your first pull request here! ❤️ We will try to get back to you soon. 🚴🏽♂️ |
for more information, see https://pre-commit.ci
so, I can see that my commit fails a lot of tests, despite being a very minor change? besides changing the length of line 2444 to be compatible with the style guide, what else should I do? |
@kaare-mikkelsen there were some unrelated failures that should now be fixed in main. I have merged these changes into your branch -- let's see how the CI comes back. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #1253 +/- ##
==========================================
- Coverage 97.61% 97.45% -0.17%
==========================================
Files 40 40
Lines 8685 8687 +2
==========================================
- Hits 8478 8466 -12
- Misses 207 221 +14 ☔ View full report in Codecov by Sentry. |
@sappelhoff We should probably set up the autofix.ci bot to make contributors' lives easier |
Co-authored-by: Richard Höchenberger <[email protected]>
@kaare-mikkelsen I plan to have a look at this within the next three weeks -- thanks for your patience! |
please see #1281, which replaces this PR. |
PR Description
In relation to this issue: #1127
I now submit this pull request. It's a pretty simple solution - after calling root.rglob(pattern), returned paths are filtered such that only those starting with root / 'sub-' are sent on.
This closes #1127
Merge checklist
Maintainer, please confirm the following before merging.
If applicable: