From 2d42cd6b8688f935878a8a92b8527099ae3508f6 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 29 Jul 2024 14:08:20 +0200 Subject: [PATCH] Bump the mypy group with 3 updates (#7049) * Bump the mypy group with 3 updates --- updated-dependencies: - dependency-name: mypy dependency-type: direct:production dependency-group: mypy - dependency-name: types-requests dependency-type: direct:production dependency-group: mypy - dependency-name: types-pyopenssl dependency-type: direct:production dependency-group: mypy ... Signed-off-by: dependabot[bot] * fix typing --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Maximilian Hils --- mitmproxy/tools/web/app.py | 2 +- pyproject.toml | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/mitmproxy/tools/web/app.py b/mitmproxy/tools/web/app.py index 578af252f..e10623727 100644 --- a/mitmproxy/tools/web/app.py +++ b/mitmproxy/tools/web/app.py @@ -284,7 +284,7 @@ class WebSocketEventBroadcaster(tornado.websocket.WebSocketHandler): connections: ClassVar[set[WebSocketEventBroadcaster]] _send_tasks: ClassVar[set[asyncio.Task]] = set() - def open(self): + def open(self, *args, **kwargs): self.connections.add(self) def on_close(self): diff --git a/pyproject.toml b/pyproject.toml index 96e882344..82bbe92fc 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -75,14 +75,14 @@ dev = [ "tox>=4.15.1,<=4.16.0", "wheel>=0.36.2,<=0.43", "build>=0.10.0,<=1.2.1", - "mypy<=1.10.1,>=1.10.1", + "mypy>=1.10.1,<=1.11.0", "ruff<=0.5.0,>=0.5.0", "types-certifi>=2021.10.8.3,<=2021.10.8.3", "types-Flask>=1.1.6,<=1.1.6", "types-Werkzeug>=1.0.9,<=1.0.9", - "types-requests<=2.32.0.20240622,>=2.32.0.20240622", + "types-requests>=2.32.0.20240622,<=2.32.0.20240712", "types-cryptography>=3.3.23.2,<=3.3.23.2", - "types-pyOpenSSL>=23.3.0.0,<=24.1.0.20240425", + "types-pyOpenSSL>=23.3.0.0,<=24.1.0.20240722", ] [project.urls]