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",