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

Better whitelisting #167

Closed
joshzwiebel opened this issue Feb 4, 2020 · 2 comments
Closed

Better whitelisting #167

joshzwiebel opened this issue Feb 4, 2020 · 2 comments

Comments

@joshzwiebel
Copy link

I am using whitelisting with mutmut and to the best of my knowledge you can only whitelist with #pragma: no mutate It would be nice if there was some decorator or blockquote equivalent for whitelisting more than one line at a time. In my case, I had a very long hardcoded list of strings and had many failed mutations due to the strings being mutated even though the content of the string was irrelevant in this context.

@boxed
Copy link
Owner

boxed commented Feb 5, 2020

This is a duplicate of #47 where we have the discussion.

@boxed
Copy link
Owner

boxed commented Feb 5, 2020

I have copied what you wrote in that PR. I have also asked a follow up question there.

@boxed boxed closed this as completed Feb 5, 2020
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

2 participants