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

Add a selector for filtering based on custom gitignore patterns #11

Open
jwodder opened this issue Apr 27, 2024 · 0 comments
Open

Add a selector for filtering based on custom gitignore patterns #11

jwodder opened this issue Apr 27, 2024 · 0 comments
Labels
c:filtering c:gitignore c:selectors enhancement New feature or request therefor under consideration Dev has not yet decided whether or how to implement

Comments

@jwodder
Copy link
Owner

jwodder commented Apr 27, 2024

Add a SelectGitignore selector that can be constructed from either an iterable of gitignore patterns or a dict mapping relative subdirs to sequences of gitignore patterns. Unlike #7, this does not honor gitignore files on the file system; instead, filtering is done using gitignore rules specified in the code.

  • Also take an optional case_sensitive: bool = True argument?
@jwodder jwodder added enhancement New feature or request therefor c:filtering c:gitignore c:selectors under consideration Dev has not yet decided whether or how to implement labels Apr 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c:filtering c:gitignore c:selectors enhancement New feature or request therefor under consideration Dev has not yet decided whether or how to implement
Projects
None yet
Development

No branches or pull requests

1 participant