Sort imports according to PEP8 for 'homeassistant' folder (#29789)
Components are already done
This commit is contained in:
1 parent
29ec17d50d
commit
67c56c860d
83 files changed
+290
-329
No files matched your search
@@ -1,13 +1,18 @@
|
||||
"""Custom loader."""
|
||||
from collections import OrderedDict
|
||||
import fnmatch
|
||||
import logging
|
||||
import os
|
||||
import sys
|
||||
import fnmatch
|
||||
from collections import OrderedDict
|
||||
from typing import Union, List, Dict, Iterator, overload, TypeVar
|
||||
from typing import Dict, Iterator, List, TypeVar, Union, overload
|
||||
|
||||
import yaml
|
||||
|
||||
from homeassistant.exceptions import HomeAssistantError
|
||||
|
||||
from .const import _SECRET_NAMESPACE, SECRET_YAML
|
||||
from .objects import NodeListClass, NodeStrClass
|
||||
|
||||
try:
|
||||
import keyring
|
||||
except ImportError:
|
||||
@@ -18,11 +23,6 @@ try:
|
||||
except ImportError:
|
||||
credstash = None
|
||||
|
||||
from homeassistant.exceptions import HomeAssistantError
|
||||
|
||||
from .const import _SECRET_NAMESPACE, SECRET_YAML
|
||||
from .objects import NodeListClass, NodeStrClass
|
||||
|
||||
|
||||
# mypy: allow-untyped-calls, no-warn-return-any
|
||||
|
||||
|
||||
Reference in new issue
Block a user