From 3647379daf1fea9b82556abd570d3ff0a94d033b Mon Sep 17 00:00:00 2001 From: jakkdl Date: Tue, 28 May 2024 10:24:00 +0200 Subject: [PATCH] make async913 disabled by default --- docs/changelog.rst | 4 ++++ flake8_async/__init__.py | 2 +- flake8_async/visitors/visitor91x.py | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/docs/changelog.rst b/docs/changelog.rst index bf0f20b..2d19510 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -4,6 +4,10 @@ Changelog *[CalVer, YY.month.patch](https://calver.org/)* +24.5.6 +====== +- Make :ref:`ASYNC913 ` disabled by default, as originally intended. + 24.5.5 ====== - Add :ref:`ASYNC300 ` create-task-no-reference diff --git a/flake8_async/__init__.py b/flake8_async/__init__.py index 587a4ef..3402408 100644 --- a/flake8_async/__init__.py +++ b/flake8_async/__init__.py @@ -38,7 +38,7 @@ # CalVer: YY.month.patch, e.g. first release of July 2022 == "22.7.1" -__version__ = "24.5.5" +__version__ = "24.5.6" # taken from https://github.com/Zac-HD/shed diff --git a/flake8_async/visitors/visitor91x.py b/flake8_async/visitors/visitor91x.py index 47decff..2c9a9f8 100644 --- a/flake8_async/visitors/visitor91x.py +++ b/flake8_async/visitors/visitor91x.py @@ -246,7 +246,7 @@ def leave_Yield( leave_Return = leave_Yield # type: ignore -disable_codes_by_default("ASYNC910", "ASYNC911", "ASYNC912") +disable_codes_by_default("ASYNC910", "ASYNC911", "ASYNC912", "ASYNC913") @error_class_cst