mirror of
https://github.com/home-assistant/core.git
synced 2025-04-25 01:38:02 +00:00
Remove some unused imports (#15529)
This commit is contained in:
parent
24d2261060
commit
2781796d9c
@ -8,7 +8,7 @@ import subprocess
|
||||
import sys
|
||||
import threading
|
||||
|
||||
from typing import Optional, List, Dict, Any # noqa #pylint: disable=unused-import
|
||||
from typing import List, Dict, Any # noqa pylint: disable=unused-import
|
||||
|
||||
|
||||
from homeassistant import monkey_patch
|
||||
|
@ -5,11 +5,6 @@ from typing import Any, Iterable, Tuple, Sequence, Dict
|
||||
|
||||
from homeassistant.const import CONF_PLATFORM
|
||||
|
||||
# Typing Imports and TypeAlias
|
||||
# pylint: disable=using-constant-test,unused-import
|
||||
if False:
|
||||
from logging import Logger # NOQA
|
||||
|
||||
# pylint: disable=invalid-name
|
||||
ConfigType = Dict[str, Any]
|
||||
|
||||
|
@ -17,7 +17,7 @@ import sys
|
||||
from types import ModuleType
|
||||
|
||||
# pylint: disable=unused-import
|
||||
from typing import Dict, List, Optional, Sequence, Set, TYPE_CHECKING # NOQA
|
||||
from typing import Optional, Set, TYPE_CHECKING # NOQA
|
||||
|
||||
from homeassistant.const import PLATFORM_FORMAT
|
||||
from homeassistant.util import OrderedSet
|
||||
|
Loading…
x
Reference in New Issue
Block a user