1
0
mirror of https://github.com/home-assistant/core.git synced 2025-12-24 12:59:34 +00:00

Isort preparations (#16555)

* Don't treat typing as an "in-between" module for import order

That was a < 3.5 era thing.

* Tighten scope of some pylint unused-import disables

To avoid isort moving a top level one around, undesirably broadening its
scope.
This commit is contained in:
Ville Skyttä
2018-09-11 12:21:48 +03:00
committed by Paulus Schoutsen
parent a059cc860a
commit ee696643cd
26 changed files with 10 additions and 35 deletions

View File

@@ -18,8 +18,7 @@ from time import monotonic
import uuid
from types import MappingProxyType
# pylint: disable=unused-import
from typing import ( # NOQA
from typing import ( # noqa: F401 pylint: disable=unused-import
Optional, Any, Callable, List, TypeVar, Dict, Coroutine, Set,
TYPE_CHECKING, Awaitable, Iterator)