Sort imports according to PEP8 for shopping_list (#29751)
This commit is contained in:
parent
d1b38c0c79
commit
991834f337
3 changed files with 5 additions and 6 deletions
|
@ -5,13 +5,12 @@ import uuid
|
|||
|
||||
import voluptuous as vol
|
||||
|
||||
from homeassistant.const import HTTP_NOT_FOUND, HTTP_BAD_REQUEST
|
||||
from homeassistant.core import callback
|
||||
from homeassistant.components import http
|
||||
from homeassistant.components import http, websocket_api
|
||||
from homeassistant.components.http.data_validator import RequestDataValidator
|
||||
from homeassistant.const import HTTP_BAD_REQUEST, HTTP_NOT_FOUND
|
||||
from homeassistant.core import callback
|
||||
import homeassistant.helpers.config_validation as cv
|
||||
from homeassistant.util.json import load_json, save_json
|
||||
from homeassistant.components import websocket_api
|
||||
|
||||
ATTR_NAME = "name"
|
||||
|
||||
|
|
|
@ -3,8 +3,8 @@ from unittest.mock import patch
|
|||
|
||||
import pytest
|
||||
|
||||
from homeassistant.setup import async_setup_component
|
||||
from homeassistant.components.shopping_list import intent as sl_intent
|
||||
from homeassistant.setup import async_setup_component
|
||||
|
||||
|
||||
@pytest.fixture(autouse=True)
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
"""Test shopping list component."""
|
||||
import asyncio
|
||||
|
||||
from homeassistant.helpers import intent
|
||||
from homeassistant.components.websocket_api.const import TYPE_RESULT
|
||||
from homeassistant.helpers import intent
|
||||
|
||||
|
||||
@asyncio.coroutine
|
||||
|
|
Loading…
Add table
Reference in a new issue