-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Support negative patterns in python_files
option.
#13111
Comments
There is already an However, I'm surprised that setting |
I'm guessing A meta-comment... I've seen several projects make this same mistake of separating inclusions and exclusions into two different variables rather than using one, supporting negative patterns, and having a series of patterns apply in order. IIRC I remember myself being a part of this same issue on
That's desired behavior. |
I believe the assertion rewriting doesn't take
Can you elaborate? I don't think it is, as it's both undocumented and surprising. |
This issue is stale because it has the |
What's the problem this feature will solve?
This feature will allow users to create exceptions to python files to look for tests or magic like assertion rewriting is applied to.
Describe the solution you'd like
Being able to specify negative patterns in the
python_files
option such as!my/**/pattern/*.py
or similar.Alternative Solutions
???
Additional context
Would allow workarounds to #10845, scipy/scipy#22236, and cocotb/cocotb#4343.
The text was updated successfully, but these errors were encountered: