From ea39d5b42868db6c5041374f92fbc29deceb7753 Mon Sep 17 00:00:00 2001 From: Bas Nijholt Date: Mon, 9 Dec 2019 11:23:21 +0100 Subject: [PATCH] Sort imports according to PEP8 for aws (#29704) --- homeassistant/components/aws/__init__.py | 3 +-- homeassistant/components/aws/notify.py | 3 ++- tests/components/aws/test_init.py | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/homeassistant/components/aws/__init__.py b/homeassistant/components/aws/__init__.py index b553b7eafd6..600874b0d25 100644 --- a/homeassistant/components/aws/__init__.py +++ b/homeassistant/components/aws/__init__.py @@ -1,10 +1,9 @@ """Support for Amazon Web Services (AWS).""" import asyncio -import logging from collections import OrderedDict +import logging import aiobotocore - import voluptuous as vol from homeassistant import config_entries diff --git a/homeassistant/components/aws/notify.py b/homeassistant/components/aws/notify.py index 2afa9a3a402..13fa189a318 100644 --- a/homeassistant/components/aws/notify.py +++ b/homeassistant/components/aws/notify.py @@ -12,8 +12,9 @@ from homeassistant.components.notify import ( ATTR_TITLE_DEFAULT, BaseNotificationService, ) -from homeassistant.const import CONF_PLATFORM, CONF_NAME +from homeassistant.const import CONF_NAME, CONF_PLATFORM from homeassistant.helpers.json import JSONEncoder + from .const import ( CONF_CONTEXT, CONF_CREDENTIAL_NAME, diff --git a/tests/components/aws/test_init.py b/tests/components/aws/test_init.py index a9701ec7ff9..c7fa9d0a5c1 100644 --- a/tests/components/aws/test_init.py +++ b/tests/components/aws/test_init.py @@ -1,5 +1,5 @@ """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.setup import async_setup_component