From c5316dbc39a73f300a9e8c4e48764222a077ee1c Mon Sep 17 00:00:00 2001 From: Bas Nijholt Date: Mon, 9 Dec 2019 11:14:08 +0100 Subject: [PATCH] Sort imports according to PEP8 for iqvia (#29720) --- homeassistant/components/iqvia/__init__.py | 3 +-- homeassistant/components/iqvia/config_flow.py | 2 +- homeassistant/components/iqvia/sensor.py | 2 +- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/homeassistant/components/iqvia/__init__.py b/homeassistant/components/iqvia/__init__.py index e3add21c3a4..397cffe6d8c 100644 --- a/homeassistant/components/iqvia/__init__.py +++ b/homeassistant/components/iqvia/__init__.py @@ -4,8 +4,7 @@ from datetime import timedelta import logging from pyiqvia import Client -from pyiqvia.errors import IQVIAError, InvalidZipError - +from pyiqvia.errors import InvalidZipError, IQVIAError import voluptuous as vol from homeassistant.config_entries import SOURCE_IMPORT diff --git a/homeassistant/components/iqvia/config_flow.py b/homeassistant/components/iqvia/config_flow.py index f6776a833ee..abec8eff09a 100644 --- a/homeassistant/components/iqvia/config_flow.py +++ b/homeassistant/components/iqvia/config_flow.py @@ -1,10 +1,10 @@ """Config flow to configure the IQVIA component.""" from collections import OrderedDict -import voluptuous as vol from pyiqvia import Client from pyiqvia.errors import InvalidZipError +import voluptuous as vol from homeassistant import config_entries from homeassistant.core import callback diff --git a/homeassistant/components/iqvia/sensor.py b/homeassistant/components/iqvia/sensor.py index 90aa89f06d1..21c31bbff08 100644 --- a/homeassistant/components/iqvia/sensor.py +++ b/homeassistant/components/iqvia/sensor.py @@ -9,8 +9,8 @@ from homeassistant.components.iqvia import ( DOMAIN, SENSORS, TYPE_ALLERGY_FORECAST, - TYPE_ALLERGY_OUTLOOK, TYPE_ALLERGY_INDEX, + TYPE_ALLERGY_OUTLOOK, TYPE_ALLERGY_TODAY, TYPE_ALLERGY_TOMORROW, TYPE_ASTHMA_FORECAST,