mirror of
https://github.com/esphome/esphome.git
synced 2024-11-25 08:28:12 +01:00
Lint
This commit is contained in:
parent
c206846816
commit
07da8950c4
3 changed files with 5 additions and 8 deletions
|
@ -10,11 +10,9 @@ import sys
|
||||||
|
|
||||||
from esphomeyaml import const, core_config, mqtt, platformio_api, wizard, writer, yaml_util
|
from esphomeyaml import const, core_config, mqtt, platformio_api, wizard, writer, yaml_util
|
||||||
from esphomeyaml.api.client import run_logs
|
from esphomeyaml.api.client import run_logs
|
||||||
from esphomeyaml.components import wifi
|
|
||||||
from esphomeyaml.config import get_component, iter_components, read_config, strip_default_ids
|
from esphomeyaml.config import get_component, iter_components, read_config, strip_default_ids
|
||||||
from esphomeyaml.const import CONF_BAUD_RATE, CONF_DOMAIN, CONF_ESPHOMEYAML, \
|
from esphomeyaml.const import CONF_BAUD_RATE, CONF_ESPHOMEYAML, CONF_LOGGER, CONF_USE_CUSTOM_CODE, \
|
||||||
CONF_HOSTNAME, CONF_LOGGER, CONF_MANUAL_IP, CONF_NAME, CONF_STATIC_IP, CONF_USE_CUSTOM_CODE, \
|
CONF_BROKER
|
||||||
CONF_WIFI, CONF_BROKER
|
|
||||||
from esphomeyaml.core import CORE, EsphomeyamlError
|
from esphomeyaml.core import CORE, EsphomeyamlError
|
||||||
from esphomeyaml.cpp_generator import Expression, RawStatement, add, statement
|
from esphomeyaml.cpp_generator import Expression, RawStatement, add, statement
|
||||||
from esphomeyaml.helpers import color, indent
|
from esphomeyaml.helpers import color, indent
|
||||||
|
|
|
@ -7,7 +7,7 @@ import time
|
||||||
|
|
||||||
# pylint: disable=unused-import
|
# pylint: disable=unused-import
|
||||||
from typing import Optional # noqa
|
from typing import Optional # noqa
|
||||||
from google.protobuf import message
|
from google.protobuf import message # noqa
|
||||||
|
|
||||||
from esphomeyaml import const
|
from esphomeyaml import const
|
||||||
import esphomeyaml.api.api_pb2 as pb
|
import esphomeyaml.api.api_pb2 as pb
|
||||||
|
|
|
@ -6,9 +6,8 @@ import math
|
||||||
import os
|
import os
|
||||||
import re
|
import re
|
||||||
|
|
||||||
from esphomeyaml.const import CONF_ARDUINO_VERSION, CONF_DOMAIN, CONF_ESPHOMELIB_VERSION, \
|
from esphomeyaml.const import CONF_ARDUINO_VERSION, CONF_ESPHOMELIB_VERSION, CONF_ESPHOMEYAML, \
|
||||||
CONF_ESPHOMEYAML, CONF_HOSTNAME, CONF_LOCAL, CONF_MANUAL_IP, CONF_STATIC_IP, CONF_WIFI, \
|
CONF_LOCAL, CONF_WIFI, ESP_PLATFORM_ESP32, ESP_PLATFORM_ESP8266
|
||||||
ESP_PLATFORM_ESP32, ESP_PLATFORM_ESP8266
|
|
||||||
from esphomeyaml.helpers import ensure_unique_string
|
from esphomeyaml.helpers import ensure_unique_string
|
||||||
|
|
||||||
# pylint: disable=unused-import, wrong-import-order
|
# pylint: disable=unused-import, wrong-import-order
|
||||||
|
|
Loading…
Reference in a new issue