Skip to content

Allow --exclude to be used with --include#491

Merged
kemzeb merged 1 commit intotox-dev:mainfrom
kemzeb:feat/allow-include-exclude
Jul 20, 2025
Merged

Allow --exclude to be used with --include#491
kemzeb merged 1 commit intotox-dev:mainfrom
kemzeb:feat/allow-include-exclude

Conversation

@kemzeb
Copy link
Copy Markdown
Collaborator

@kemzeb kemzeb commented Jul 20, 2025

#273 removed the ability to use --include and --exclude together. I now disagree with this change since not only was that a (accidental) breaking change but I now see it makes sense to allow them to be used together (e.g using pattern matching: pidpeptree -p pytest* -e pytest-mock).

This change allows them to be used together and adds a few tests to ensure that they continue to do so.

@kemzeb kemzeb merged commit 75ac1c6 into tox-dev:main Jul 20, 2025
11 checks passed
@kemzeb kemzeb deleted the feat/allow-include-exclude branch July 20, 2025 19:36
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

Successfully merging this pull request may close these issues.

2 participants