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)