Skip to content

chore(deps-dev): Bump mutmut from 2.2.0 to 2.4.0

Victor Engmark requested to merge dependabot-pip-mutmut-2.4.0 into main

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 performed

  • Fixed error where mutmut_config.init() was not called when running without explicitly having set PYTHONPATH

  • Use Click's subcommand feature to refactor the command line interface. For the end user, this can now run mutmut [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 of mutmut --version, which now has to be mutmut version.

  • You can now set the context.config.test_command in the mutmut_config.pre_mutation(context) hook to select the relevant subset of tests. Coverage contexts are now accessible in config.coverage_data to help with the selection.

Commits

Merge request reports