From f9840306a00097896528eb2825bbe69153ca2813 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 9 Oct 2023 08:59:37 +0200 Subject: [PATCH] Bump pyupgrade from 3.14.0 to 3.15.0 (#4614) Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Franck Nijhof --- .pre-commit-config.yaml | 2 +- requirements_tests.txt | 2 +- supervisor/homeassistant/websocket.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index e3d96493e..85ce19bd4 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -28,7 +28,7 @@ repos: hooks: - id: isort - repo: https://github.com/asottile/pyupgrade - rev: v3.4.0 + rev: v3.15.0 hooks: - id: pyupgrade args: [--py310-plus] diff --git a/requirements_tests.txt b/requirements_tests.txt index e8e4dbf1a..f13f2ce78 100644 --- a/requirements_tests.txt +++ b/requirements_tests.txt @@ -10,7 +10,7 @@ pytest-asyncio==0.18.3 pytest-cov==4.1.0 pytest-timeout==2.2.0 pytest==7.4.2 -pyupgrade==3.14.0 +pyupgrade==3.15.0 time-machine==2.13.0 typing_extensions==4.8.0 urllib3==2.0.6 diff --git a/supervisor/homeassistant/websocket.py b/supervisor/homeassistant/websocket.py index 2a7e12179..f1a8b3df0 100644 --- a/supervisor/homeassistant/websocket.py +++ b/supervisor/homeassistant/websocket.py @@ -154,7 +154,7 @@ class WSClient: @classmethod async def connect_with_auth( cls, session: aiohttp.ClientSession, loop, url: str, token: str - ) -> "WSClient": + ) -> WSClient: """Create an authenticated websocket client.""" try: client = await session.ws_connect(url, ssl=False)