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ä authored and Paulus Schoutsen committed 2018-09-11 11:21:48 +02:00
1 parent a059cc860a
commit ee696643cd
26 files changed
+10 -35

No files matched your search

+1 -1
View File
@@ -1,8 +1,8 @@
"""Classes to help gather user submissions."""
import logging
from typing import Dict, Any, Callable, Hashable, List, Optional # noqa pylint: disable=unused-import
import uuid
import voluptuous as vol
from typing import Dict, Any, Callable, Hashable, List, Optional # noqa pylint: disable=unused-import
from .core import callback, HomeAssistant
from .exceptions import HomeAssistantError