Skip to content

Commit

Permalink
Small lint cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
ehendrix23 committed Feb 7, 2021
1 parent b1d144d commit dca16b2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions pymyq/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ async def request(
json: dict = None,
allow_redirects: bool = True,
login_request: bool = False,
) -> (ClientResponse, Union[dict, str, None]):
) -> Tuple[ClientResponse, Union[dict, str, None]]:
"""Make a request."""

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

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

async with ClientSession() as session:
# retrieve authentication page
Expand Down
2 changes: 1 addition & 1 deletion pymyq/device.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import asyncio
import logging
from datetime import datetime
from typing import TYPE_CHECKING, Optional, Tuple, List
from typing import TYPE_CHECKING, Optional, List

from .const import DEVICE_TYPE, WAIT_TIMEOUT
from .errors import RequestError, MyQError
Expand Down

0 comments on commit dca16b2

Please sign in to comment.