mirror of
https://github.com/home-assistant/core.git
synced 2025-12-27 14:31:13 +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:
committed by
Paulus Schoutsen
parent
a059cc860a
commit
ee696643cd
@@ -5,7 +5,6 @@ import importlib
|
||||
import logging
|
||||
import os
|
||||
import sys
|
||||
|
||||
from typing import List
|
||||
|
||||
from homeassistant.bootstrap import async_mount_local_lib_path
|
||||
|
||||
@@ -6,10 +6,10 @@ import os
|
||||
from collections import OrderedDict, namedtuple
|
||||
from glob import glob
|
||||
from platform import system
|
||||
from typing import Dict, List, Sequence
|
||||
from unittest.mock import patch
|
||||
|
||||
import attr
|
||||
from typing import Dict, List, Sequence
|
||||
import voluptuous as vol
|
||||
|
||||
from homeassistant import bootstrap, core, loader
|
||||
|
||||
@@ -3,7 +3,6 @@ import argparse
|
||||
import json
|
||||
import os
|
||||
import sys
|
||||
|
||||
from typing import List
|
||||
|
||||
import homeassistant.config as config_util
|
||||
|
||||
@@ -2,7 +2,6 @@
|
||||
|
||||
import argparse
|
||||
import sys
|
||||
|
||||
from typing import List
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user