Sort imports according to PEP8 for geofency (#29695)

This commit is contained in:
Bas Nijholt 2019-12-09 11:46:49 +01:00 committed by Franck Nijhof
parent 2511f5edb4
commit 2261bb60e0
4 changed files with 6 additions and 6 deletions

View File

@ -18,8 +18,8 @@ from homeassistant.helpers import config_entry_flow
import homeassistant.helpers.config_validation as cv
from homeassistant.helpers.dispatcher import async_dispatcher_send
from homeassistant.util import slugify
from .const import DOMAIN
from .const import DOMAIN
_LOGGER = logging.getLogger(__name__)

View File

@ -1,7 +1,7 @@
"""Config flow for Geofency."""
from homeassistant.helpers import config_entry_flow
from .const import DOMAIN
from .const import DOMAIN
config_entry_flow.register_webhook_flow(
DOMAIN,

View File

@ -1,13 +1,13 @@
"""Support for the Geofency device tracker platform."""
import logging
from homeassistant.const import ATTR_LATITUDE, ATTR_LONGITUDE
from homeassistant.core import callback
from homeassistant.components.device_tracker import SOURCE_TYPE_GPS
from homeassistant.components.device_tracker.config_entry import TrackerEntity
from homeassistant.const import ATTR_LATITUDE, ATTR_LONGITUDE
from homeassistant.core import callback
from homeassistant.helpers import device_registry
from homeassistant.helpers.dispatcher import async_dispatcher_connect
from homeassistant.helpers.restore_state import RestoreEntity
from homeassistant.helpers import device_registry
from . import DOMAIN as GF_DOMAIN, TRACKER_UPDATE

View File

@ -1,6 +1,6 @@
"""The tests for the Geofency device tracker platform."""
# pylint: disable=redefined-outer-name
from unittest.mock import patch, Mock
from unittest.mock import Mock, patch
import pytest