chore(deps-dev): Bump mutmut from 2.2.0 to 2.4.0
Bumps mutmut from 2.2.0 to 2.4.0.
Changelog
Sourced from mutmut's changelog.
2.4.0
* Add pyproject support (thanks sed-i) Change very small or very large numbers (floats) by a relative amount (thanks Peter Hill) This avoids (some) problems with unkillable mutants, for example: 1e16 -> 1e+16 which now becomes 1e16 -> 2e+16 Fix inconsistent output of mutmut show after using --enable-mutation-types (thanks Andreas Finkler) Improve test selection through pre_mutation(context) (thanks Andreas Finkler) Remove --cache-only option and second argument to mutmut show (thanks Andreas Finkler) 2.3.0
Add
--disable-mutation-types
and--enable-mutation-types
to control what types of mutations are performedFixed error where
mutmut_config.init()
was not called when running without explicitly having setPYTHONPATH
Use
Click
's subcommand feature to refactor the command line interface. For the end user, this can now runmutmut [COMMAND] -h
to check which parameters are relevant to this specific subcommand. The change is backwards compatible, and all existing commands work the same as before, with the exception ofmutmut --version
, which now has to bemutmut version
.You can now set the
context.config.test_command
in themutmut_config.pre_mutation(context)
hook to select the relevant subset of tests. Coverage contexts are now accessible inconfig.coverage_data
to help with the selection.
Commits
- See full diff in compare view