-
Notifications
You must be signed in to change notification settings - Fork 112
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
Fails to skip lines when context.skip set True in pre_mutation #321
Comments
The output you showed looks like the |
Thanks that helps me to understand. I have quite a lot of items skipped at the moment and they make it hard to see the real mutants that need to be addressed in the report. Is there an option to omit skipped mutants from the report? It also seems to me that the behaviour of
|
And it's not just that that mutant was checked when you didn't have that conf? The cache will remember mutants... |
I just released mutmut 3, which is a big rewrite. |
This is my pre_mutation function in mutmut_config.py
I can see it is being executed from the prints but it does not stop the mutations as shown by the snippet below
There is no setup/config file and I am running mutmut like this
mutmut run --disable-mutation-types=string,number
I would expect the string in the print above not to be mutated.
Version is
mutmut version 2.5.0
and running with python 3.10 in a venv on Ubuntu 22.04The text was updated successfully, but these errors were encountered: