Update isort configuration and sorts imports in codebase (#1739)

* Add known first party to isort configuration

* Run isort on supervisor and tests folder
This commit is contained in:
Franck Nijhof
2020-05-21 13:30:54 +02:00
committed by GitHub
parent 5e5fd3a79b
commit 1d83c0c77a
65 changed files with 111 additions and 128 deletions

View File

@@ -5,12 +5,12 @@ import logging
import aiohttp
from aiohttp import web
from aiohttp.web_exceptions import HTTPBadGateway, HTTPUnauthorized
from aiohttp.client_exceptions import ClientConnectorError
from aiohttp.hdrs import CONTENT_TYPE, AUTHORIZATION
from aiohttp.hdrs import AUTHORIZATION, CONTENT_TYPE
from aiohttp.web_exceptions import HTTPBadGateway, HTTPUnauthorized
from ..coresys import CoreSysAttributes
from ..exceptions import HomeAssistantAuthError, HomeAssistantAPIError, APIError
from ..exceptions import APIError, HomeAssistantAPIError, HomeAssistantAuthError
_LOGGER: logging.Logger = logging.getLogger(__name__)