Sort imports according to PEP8 for components starting with "U" (#29779)
* use isort to sort imports for components starting with 'u' * add 'pylint: disable=import-error' to the right place
This commit is contained in:
parent
80c344d3a8
commit
e37443f10c
13 changed files with 55 additions and 56 deletions
|
@ -1,16 +1,14 @@
|
|||
"""Test UPnP/IGD setup process."""
|
||||
|
||||
from ipaddress import ip_address
|
||||
from unittest.mock import patch, MagicMock
|
||||
from unittest.mock import MagicMock, patch
|
||||
|
||||
from homeassistant.setup import async_setup_component
|
||||
from homeassistant.components import upnp
|
||||
from homeassistant.components.upnp.device import Device
|
||||
from homeassistant.const import EVENT_HOMEASSISTANT_STOP
|
||||
from homeassistant.setup import async_setup_component
|
||||
|
||||
from tests.common import MockConfigEntry
|
||||
from tests.common import MockDependency
|
||||
from tests.common import mock_coro
|
||||
from tests.common import MockConfigEntry, MockDependency, mock_coro
|
||||
|
||||
|
||||
class MockDevice(Device):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue