From 31aa4f195355a71302046b05dd2ba23381e6a4a6 Mon Sep 17 00:00:00 2001 From: Gasper Vozel Date: Fri, 12 May 2023 10:13:04 +0200 Subject: [PATCH] Update to version 0.4.0 --- README.rst | 8 ++++++-- flake8_mock.py | 2 +- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/README.rst b/README.rst index 58599c6..37174f6 100644 --- a/README.rst +++ b/README.rst @@ -37,11 +37,11 @@ List of non-existent methods checked Plugin for Flake8 ----------------- -When both ``flake8 2.4`` and ``flake8-mock`` are installed, the plugin is +When both ``flake8`` and ``flake8-mock`` are installed, the plugin is available in ``flake8``:: $ flake8 --version - 2.4.1 (pep8: 1.5.7, flake8-mock: 0.3, pyflakes: 0.8.1) + 5.0.4 (flake8-mock: 0.4, ...) Example output @@ -70,6 +70,10 @@ Collaborators Changes ------- +0.4 (05-12-2023) +```````````````` +* Fix compatibility with flake8 >= 5.0.0. + 0.3 (09-10-2016) ```````````````` * Don't warn on `assert_not_called`, `assert_called` or `assert_called_once`. diff --git a/flake8_mock.py b/flake8_mock.py index b3274aa..5a4240a 100644 --- a/flake8_mock.py +++ b/flake8_mock.py @@ -6,7 +6,7 @@ import tokenize -__version__ = '0.3' +__version__ = '0.4' NON_EXISTENT_METHODS = [ 'assert_calls',