From e6408ab03ebf19914ae2a89d006ccc9509286623 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 23 Apr 2024 00:39:37 -0700 Subject: [PATCH] Bump flake8-bugbear from 22.1.11 to 24.4.21 (#196) * Bump flake8-bugbear from 22.1.11 to 24.4.21 Bumps [flake8-bugbear](https://github.com/PyCQA/flake8-bugbear) from 22.1.11 to 24.4.21. - [Release notes](https://github.com/PyCQA/flake8-bugbear/releases) - [Commits](https://github.com/PyCQA/flake8-bugbear/compare/22.1.11...24.4.21) --- updated-dependencies: - dependency-name: flake8-bugbear dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] * Suppress lint --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Amethyst Reese --- aiomultiprocess/pool.py | 2 +- pyproject.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/aiomultiprocess/pool.py b/aiomultiprocess/pool.py index 17c8872..a3e0821 100644 --- a/aiomultiprocess/pool.py +++ b/aiomultiprocess/pool.py @@ -108,7 +108,7 @@ async def run(self) -> None: tb = None try: result = future.result() - except BaseException as e: + except BaseException as e: # noqa: B036 if self.exception_handler is not None: self.exception_handler(e) diff --git a/pyproject.toml b/pyproject.toml index 397668c..1d40360 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -28,7 +28,7 @@ dev = [ "black==24.4.0", "coverage==7.4.4", "flake8==7.0.0", - "flake8-bugbear==22.1.11", + "flake8-bugbear==24.4.21", "flit==3.9.0", "mypy==0.931", "usort==1.0.8.post1",