Skip to content

Commit 426b928

Browse files
committed
Linting
1 parent 20ef99c commit 426b928

File tree

3 files changed

+3
-6
lines changed

3 files changed

+3
-6
lines changed

pyhilo/api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -384,7 +384,7 @@ async def _async_post_init(self) -> None:
384384
# instantiate differently
385385
self.websocket_devices = WebsocketClient(self.websocket_manager.devicehub)
386386

387-
# For backward compatibility during the transition to challengehub websocket
387+
# For backward compatibility during the transition to challengehub websocket
388388
self.websocket = self.websocket_devices
389389
self.websocket_challenges = WebsocketClient(self.websocket_manager.challengehub)
390390

pyhilo/oauth2.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
from homeassistant.helpers.config_entry_oauth2_flow import LocalOAuth2Implementation
1111

1212
from pyhilo.const import AUTH_AUTHORIZE, AUTH_CLIENT_ID, AUTH_TOKEN, DOMAIN
13-
1413
from pyhilo.oauth2helper import OAuth2Helper
1514

1615

pyhilo/oauth2helper.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
import re
55
from typing import Any, cast
66

7-
87
from pyhilo.const import (
98
AUTH_AUTHORIZE,
109
AUTH_CHALLENGE_METHOD,
@@ -13,6 +12,7 @@
1312
AUTH_TOKEN,
1413
)
1514

15+
1616
class OAuth2Helper:
1717
"""Custom OAuth2 implementation."""
1818

@@ -36,7 +36,7 @@ def get_authorize_parameters(self):
3636
"code_challenge": self._code_challenge,
3737
"code_challenge_method": AUTH_CHALLENGE_METHOD,
3838
"response_type": "code",
39-
"client_id": AUTH_CLIENT_ID
39+
"client_id": AUTH_CLIENT_ID,
4040
}
4141

4242
def get_token_request_parameters(self, code, redirect_uri):
@@ -46,5 +46,3 @@ def get_token_request_parameters(self, code, redirect_uri):
4646
"redirect_uri": redirect_uri,
4747
"code_verifier": self._code_verifier,
4848
}
49-
50-

0 commit comments

Comments
 (0)