Sort imports according to PEP8 for dialogflow (#29714)
This commit is contained in:
parent
81a482332d
commit
39887c46c0
3 changed files with 4 additions and 5 deletions
|
@ -1,16 +1,15 @@
|
||||||
"""Support for Dialogflow webhook."""
|
"""Support for Dialogflow webhook."""
|
||||||
import logging
|
import logging
|
||||||
|
|
||||||
import voluptuous as vol
|
|
||||||
from aiohttp import web
|
from aiohttp import web
|
||||||
|
import voluptuous as vol
|
||||||
|
|
||||||
from homeassistant.const import CONF_WEBHOOK_ID
|
from homeassistant.const import CONF_WEBHOOK_ID
|
||||||
from homeassistant.exceptions import HomeAssistantError
|
from homeassistant.exceptions import HomeAssistantError
|
||||||
from homeassistant.helpers import intent, template, config_entry_flow
|
from homeassistant.helpers import config_entry_flow, intent, template
|
||||||
|
|
||||||
from .const import DOMAIN
|
from .const import DOMAIN
|
||||||
|
|
||||||
|
|
||||||
_LOGGER = logging.getLogger(__name__)
|
_LOGGER = logging.getLogger(__name__)
|
||||||
|
|
||||||
SOURCE = "Home Assistant Dialogflow"
|
SOURCE = "Home Assistant Dialogflow"
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
"""Config flow for DialogFlow."""
|
"""Config flow for DialogFlow."""
|
||||||
from homeassistant.helpers import config_entry_flow
|
from homeassistant.helpers import config_entry_flow
|
||||||
from .const import DOMAIN
|
|
||||||
|
|
||||||
|
from .const import DOMAIN
|
||||||
|
|
||||||
config_entry_flow.register_webhook_flow(
|
config_entry_flow.register_webhook_flow(
|
||||||
DOMAIN,
|
DOMAIN,
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
"""The tests for the Dialogflow component."""
|
"""The tests for the Dialogflow component."""
|
||||||
import json
|
|
||||||
import copy
|
import copy
|
||||||
|
import json
|
||||||
from unittest.mock import Mock
|
from unittest.mock import Mock
|
||||||
|
|
||||||
import pytest
|
import pytest
|
||||||
|
|
Loading…
Add table
Reference in a new issue