-
Notifications
You must be signed in to change notification settings - Fork 124
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: Ensure dotfiles are always filtered #1123
Conversation
@shnizzedy could I trouble you or one of your group for a review? |
Coerce ignore to list to handle other sequence types (tuples) being passed.
7362964
to
5a34b83
Compare
Closes bids-standardgh-925 by passing without requiring a fix.
Added an extra test to take advantage of the new fixture. It's unrelated but closes an additional issue. |
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.
Nice! This has come up before - one suggestion but LGTM
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.
I see this was already merged before I got around to reviewing it, but it looks good to me
Thanks! Post-merge reviews are always welcome, even (especially) when I'm rushing a bit. |
Version 0.19.0 (March 05, 2025) New feature release in the 0.19.x series. This release adds plus signs to labels and suffixes, anticipating the release of BIDS 1.10.1 or 1.11.0 (whichever is next). Until the BIDS specification is updated and the ``bidsschematools`` package containing the updated schema is published, files with ``+`` will not validate, but can still be indexed with ``BIDSLayout(..., validate=False)``. Several small fixes resolving issues with BIDS Stats Models are included, and complex JSON metadata (lists and objects) will now play more nicely with contexts where they need to be hashed. * FIX: Catch StopIteration on directory walk (#1124) * FIX: Ensure dotfiles are always filtered (#1123) * FIX: Copy entities dict before modifying run variable type (#1120) * FIX: Allow numpy arrays to treat PaddedInt like int (#1119) * FIX: Make lists and dicts hashable (#1112) * ENH: Allow plus signs in labels (#1117) * MNT: Remove formulaic upper bound (#1121) * MNT: Use tox-uv to ease lower bound checking, test on Python 3.13 (#1109)
Dotfiles are ignored by default, but custom ignore patterns override the default ignores. This change ensures that dotfiles are always ignored in either case.
Regression test reproduces #1069 and patch fixes it.
Closes #1069.