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
@@ -6,6 +6,7 @@ https://home-assistant.io/components/google_assistant/
|
||||
"""
|
||||
import asyncio
|
||||
import logging
|
||||
from typing import Dict, Any
|
||||
|
||||
import aiohttp
|
||||
import async_timeout
|
||||
@@ -14,7 +15,6 @@ import voluptuous as vol
|
||||
|
||||
# Typing imports
|
||||
from homeassistant.core import HomeAssistant
|
||||
from typing import Dict, Any
|
||||
|
||||
from homeassistant.const import CONF_NAME
|
||||
from homeassistant.helpers import config_validation as cv
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
"""Google Assistant OAuth View."""
|
||||
|
||||
import logging
|
||||
from typing import Dict, Any
|
||||
|
||||
# Typing imports
|
||||
# if False:
|
||||
from aiohttp.web import Request, Response
|
||||
from typing import Dict, Any
|
||||
|
||||
from homeassistant.core import HomeAssistant
|
||||
from homeassistant.components.http import HomeAssistantView
|
||||
|
||||
Reference in new issue
Block a user