1
0
mirror of https://github.com/esphome/esphome.git synced 2025-09-02 19:32:19 +01:00

Remove a bunch of unnecessary pylint disabling (#4079)

This commit is contained in:
Jesse Hills
2022-11-24 11:09:19 +13:00
committed by GitHub
parent 81b4078871
commit b184b01600
16 changed files with 24 additions and 54 deletions

View File

@@ -2,34 +2,26 @@ import abc
import inspect
import math
import re
from esphome.yaml_util import ESPHomeDataBase
# pylint: disable=unused-import, wrong-import-order
from typing import (
Any,
Callable,
Optional,
Union,
)
from collections.abc import Generator, Sequence
from typing import Any, Callable, Optional, Union
from esphome.core import ( # noqa
from esphome.core import (
CORE,
HexInt,
ID,
Define,
EnumValue,
HexInt,
Lambda,
Library,
TimePeriod,
TimePeriodMicroseconds,
TimePeriodMilliseconds,
TimePeriodMinutes,
TimePeriodSeconds,
coroutine,
Library,
Define,
EnumValue,
)
from esphome.helpers import cpp_string_escape, indent_all_but_first_and_last
from esphome.util import OrderedDict
from esphome.yaml_util import ESPHomeDataBase
class Expression(abc.ABC):