Add --exclude option to implement file exclusion#17
Merged
4383 merged 1 commit intobeaglecli:masterfrom Jul 28, 2025
Merged
Conversation
Member
4383
commented
Jul 25, 2025
- Add --exclude (repeatable) option to beagle search for glob-based file/path exclusion.
- Apply exclusion logic in search results, skipping files matching any exclude pattern.
- Create and standardize tests using pytest style.
- Add edge case and pattern coverage to tests.
- Update .gitignore for standard Python/dev artifacts.
- Add [testenv:unit] to tox.ini for pytest-based tests and include in envlist.
- Update CI to run tox -e unit for unit tests.
dhellmann
approved these changes
Jul 25, 2025
Collaborator
dhellmann
left a comment
There was a problem hiding this comment.
Nice addition! I'm glad to see someone is still getting value out of this tool, too.
Member
Author
|
We still use beagle from time to time :) |
Member
Author
|
I upgraded the github action into #18, this way it will fix the CI, so I prefer to merge the other one first. |
- Add --exclude (repeatable) option to beagle search for glob-based file/path exclusion. - Apply exclusion logic in search results, skipping files matching any exclude pattern. - Create and standardize tests using pytest style. - Add edge case and pattern coverage to tests. - Update .gitignore for standard Python/dev artifacts. - Add [testenv:unit] to tox.ini for pytest-based tests and include in envlist. - Update CI to run tox -e unit for unit tests.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.