Sort imports according to PEP8 for aws (#29704)

This commit is contained in:
Bas Nijholt 2019-12-09 11:23:21 +01:00 committed by Franck Nijhof
parent f9e9a5e4cb
commit ea39d5b428
3 changed files with 4 additions and 4 deletions

View file

@ -1,10 +1,9 @@
"""Support for Amazon Web Services (AWS).""" """Support for Amazon Web Services (AWS)."""
import asyncio import asyncio
import logging
from collections import OrderedDict from collections import OrderedDict
import logging
import aiobotocore import aiobotocore
import voluptuous as vol import voluptuous as vol
from homeassistant import config_entries from homeassistant import config_entries

View file

@ -12,8 +12,9 @@ from homeassistant.components.notify import (
ATTR_TITLE_DEFAULT, ATTR_TITLE_DEFAULT,
BaseNotificationService, BaseNotificationService,
) )
from homeassistant.const import CONF_PLATFORM, CONF_NAME from homeassistant.const import CONF_NAME, CONF_PLATFORM
from homeassistant.helpers.json import JSONEncoder from homeassistant.helpers.json import JSONEncoder
from .const import ( from .const import (
CONF_CONTEXT, CONF_CONTEXT,
CONF_CREDENTIAL_NAME, CONF_CREDENTIAL_NAME,

View file

@ -1,5 +1,5 @@
"""Tests for the aws component config and setup.""" """Tests for the aws component config and setup."""
from asynctest import patch as async_patch, MagicMock, CoroutineMock from asynctest import CoroutineMock, MagicMock, patch as async_patch
from homeassistant.components import aws from homeassistant.components import aws
from homeassistant.setup import async_setup_component from homeassistant.setup import async_setup_component