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

Feature request: Way to ignore certain mutations #152

Closed
EmilStenstrom opened this issue Sep 8, 2019 · 2 comments
Closed

Feature request: Way to ignore certain mutations #152

EmilStenstrom opened this issue Sep 8, 2019 · 2 comments

Comments

@EmilStenstrom
Copy link
Contributor

When running mutations on my conllu library, the majority of mutation errors are because I've decided not the test Exception message strings. Is there a way for me to set some kind of pattern that mutmut ignores? I found the # pragma: no mutation, but having that on all my raise Exception("...") feels dirty.

Any ideas?

@boxed
Copy link
Owner

boxed commented Sep 8, 2019

Yea, this comes up frequently. The discussion is at #47

I haven't committed to a solution because I haven't heard enough real world use cases to know if the solution we settle for is going to cover the use cases.

@EmilStenstrom
Copy link
Contributor Author

Thanks, will close this one in favour of previous discussions.

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