From e8e0960f45b3675ff775e2d3580956422d5698ea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Anders=20Hovm=C3=B6ller?= Date: Tue, 22 Oct 2024 06:25:44 +0200 Subject: [PATCH] Release --- HISTORY.rst | 12 ++++++++++++ mutmut/__init__.py | 2 +- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/HISTORY.rst b/HISTORY.rst index 2278986c..3cf4c149 100644 --- a/HISTORY.rst +++ b/HISTORY.rst @@ -1,6 +1,18 @@ Changelog --------- +3.1.0 +~~~~~ + +* Correctly handle mutation for generator functions (`yield`). + +* Fixed so that `from __future__` lines are always first. + +* If no stats are collected exit directly, as that is a breaking error for mutation testing. + +* Changed name mangling to make mutants less likely to trigger name-based python magic, like in pytest where functions named `test_*` have special meaning. + + 3.0.5 ~~~~~ diff --git a/mutmut/__init__.py b/mutmut/__init__.py index 45b44947..f7f79bad 100644 --- a/mutmut/__init__.py +++ b/mutmut/__init__.py @@ -4,7 +4,7 @@ Number, ) -__version__ = '3.0.5' +__version__ = '3.1.0' # We have a global whitelist for constants of the pattern __all__, __version__, etc