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 <frenck@frenck.nl>
This commit is contained in:
dependabot[bot] 2023-10-09 08:59:37 +02:00 committed by GitHub
parent 322b3bbb4e
commit f9840306a0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View File

@ -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]

View File

@ -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

View File

@ -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)