Sort imports according to PEP8 for components starting with "Z" (#29784)

* use isort to sort imports for components starting with 'z'

* add skip to end of zha/core/channels/__init__.py

* put 'pylint: disable=import-error' at the right place

* remove the import of config_flow in zha/__init__.py

According to @balloob it is no longer needed.

* revert previous commit

* isort:skip homeassistant/components/zha/__init__.py completely
This commit is contained in:
Bas Nijholt authored and Franck Nijhof committed 2019-12-09 18:54:54 +01:00
1 parent 6b6570e7ca
commit 6cc75fc6f3
10 files changed
+41 -40

No files matched your search

@@ -1,26 +1,25 @@
"""Support for exposing Home Assistant via Zeroconf."""
import ipaddress
import logging
import socket
import ipaddress
import voluptuous as vol
from zeroconf import (
NonUniqueNameException,
ServiceBrowser,
ServiceInfo,
ServiceStateChange,
Zeroconf,
NonUniqueNameException,
)
from homeassistant import util
from homeassistant.const import (
EVENT_HOMEASSISTANT_STOP,
EVENT_HOMEASSISTANT_START,
EVENT_HOMEASSISTANT_STOP,
__version__,
)
from homeassistant.generated.zeroconf import ZEROCONF, HOMEKIT
from homeassistant.generated.zeroconf import HOMEKIT, ZEROCONF
_LOGGER = logging.getLogger(__name__)