Skip to content

Commit dca16b2

Browse files
committed
Small lint cleanup
1 parent b1d144d commit dca16b2

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

pymyq/api.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ async def request(
122122
json: dict = None,
123123
allow_redirects: bool = True,
124124
login_request: bool = False,
125-
) -> (ClientResponse, Union[dict, str, None]):
125+
) -> Tuple[ClientResponse, Union[dict, str, None]]:
126126
"""Make a request."""
127127

128128
# Determine the method to call based on what is to be returned.
@@ -269,7 +269,7 @@ async def request(
269269
_LOGGER.debug(message)
270270
raise RequestError(message)
271271

272-
async def _oauth_authenticate(self) -> (str, int):
272+
async def _oauth_authenticate(self) -> Tuple[str, int]:
273273

274274
async with ClientSession() as session:
275275
# retrieve authentication page

pymyq/device.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
import asyncio
33
import logging
44
from datetime import datetime
5-
from typing import TYPE_CHECKING, Optional, Tuple, List
5+
from typing import TYPE_CHECKING, Optional, List
66

77
from .const import DEVICE_TYPE, WAIT_TIMEOUT
88
from .errors import RequestError, MyQError

0 commit comments

Comments
 (0)