Sort imports according to PEP8 for 'homeassistant' folder (#29789)

Components are already done
This commit is contained in:
Bas Nijholt 2019-12-09 16:42:10 +01:00 committed by Franck Nijhof
parent 29ec17d50d
commit 67c56c860d
83 changed files with 290 additions and 329 deletions

View file

@ -1,19 +1,18 @@
"""Script to check the configuration file."""
import argparse
import logging
import os
from collections import OrderedDict
from glob import glob
from typing import Dict, List, Sequence, Any, Tuple, Callable
import logging
import os
from typing import Any, Callable, Dict, List, Sequence, Tuple
from unittest.mock import patch
from homeassistant import bootstrap, core
from homeassistant.config import get_default_config_dir
from homeassistant.exceptions import HomeAssistantError
from homeassistant.helpers.check_config import async_check_ha_config_file
import homeassistant.util.yaml.loader as yaml_loader
from homeassistant.exceptions import HomeAssistantError
# mypy: allow-untyped-calls, allow-untyped-defs