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:
1 parent
a059cc860a
commit
ee696643cd
26 files changed
+10
-35
No files matched your search
@@ -15,9 +15,7 @@ import importlib
|
||||
import logging
|
||||
import sys
|
||||
from types import ModuleType
|
||||
|
||||
# pylint: disable=unused-import
|
||||
from typing import Optional, Set, TYPE_CHECKING, Callable, Any, TypeVar # NOQA
|
||||
from typing import Optional, Set, TYPE_CHECKING, Callable, Any, TypeVar # noqa pylint: disable=unused-import
|
||||
|
||||
from homeassistant.const import PLATFORM_FORMAT
|
||||
from homeassistant.util import OrderedSet
|
||||
|
||||
Reference in new issue
Block a user