mirror of
https://github.com/home-assistant/core.git
synced 2025-11-10 03:19:34 +00:00
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:
committed by
Franck Nijhof
parent
80c344d3a8
commit
e37443f10c
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user