mirror of
https://github.com/XiaoMi/ha_xiaomi_home.git
synced 2025-04-04 00:35:33 +08:00
style: ignore pylint wanring ('inconsistent-quotes') for config_flow.py
This commit is contained in:
parent
7a336c31fe
commit
ded158e0e6
@ -1255,6 +1255,7 @@ class OptionsFlowHandler(config_entries.OptionsFlow):
|
|||||||
|
|
||||||
|
|
||||||
async def handle_oauth_webhook(hass, webhook_id, request):
|
async def handle_oauth_webhook(hass, webhook_id, request):
|
||||||
|
# pylint: disable=inconsistent-quotes
|
||||||
try:
|
try:
|
||||||
data = dict(request.query)
|
data = dict(request.query)
|
||||||
if data.get('code', None) is None or data.get('state', None) is None:
|
if data.get('code', None) is None or data.get('state', None) is None:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user