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:
parent
6b6570e7ca
commit
6cc75fc6f3
10 changed files with 41 additions and 40 deletions
|
@ -12,18 +12,18 @@ import requests
|
|||
import voluptuous as vol
|
||||
|
||||
from homeassistant.components.weather import (
|
||||
ATTR_WEATHER_ATTRIBUTION,
|
||||
ATTR_WEATHER_HUMIDITY,
|
||||
ATTR_WEATHER_PRESSURE,
|
||||
ATTR_WEATHER_WIND_SPEED,
|
||||
ATTR_WEATHER_ATTRIBUTION,
|
||||
ATTR_WEATHER_TEMPERATURE,
|
||||
ATTR_WEATHER_WIND_BEARING,
|
||||
ATTR_WEATHER_WIND_SPEED,
|
||||
)
|
||||
from homeassistant.const import (
|
||||
CONF_NAME,
|
||||
CONF_LATITUDE,
|
||||
CONF_LONGITUDE,
|
||||
CONF_MONITORED_CONDITIONS,
|
||||
CONF_NAME,
|
||||
__version__,
|
||||
)
|
||||
import homeassistant.helpers.config_validation as cv
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue