Skip to content
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

pre-commit: allow all files starting with . #3143

Open
yarikoptic opened this issue Sep 6, 2024 · 1 comment
Open

pre-commit: allow all files starting with . #3143

yarikoptic opened this issue Sep 6, 2024 · 1 comment

Comments

@yarikoptic
Copy link
Contributor

This is a generalization request inspired by

Overall, as long as there is a way to ignore arbitrary non-bids compliant files/folders via .bidsignore, there is really no reason to aggressively ignore all files/folders starting with . - there could be legit cases of people adding some configuration files for helper tools (e.g. codespell) etc.

I wonder what was initial motivation behind imposing such restrictions?
(I would definitely explicitly forbid/ignore known trash stuff like .DS_Store though ;) ).

@yarikoptic
Copy link
Contributor Author

I wonder if may be there could be some middle ground -- an explicit whitelisting somehow. May be if explicitly listed in .bidsignore file? pre-commit could grep '^\.' for such cases...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant