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
|
@ -5,14 +5,14 @@ import unittest
|
|||
|
||||
from voluptuous.error import MultipleInvalid
|
||||
|
||||
from homeassistant.const import STATE_OFF, STATE_ON, STATE_PLAYING, STATE_PAUSED
|
||||
import homeassistant.components.switch as switch
|
||||
import homeassistant.components.input_number as input_number
|
||||
import homeassistant.components.input_select as input_select
|
||||
import homeassistant.components.media_player as media_player
|
||||
import homeassistant.components.switch as switch
|
||||
import homeassistant.components.universal.media_player as universal
|
||||
from homeassistant.const import STATE_OFF, STATE_ON, STATE_PAUSED, STATE_PLAYING
|
||||
|
||||
from tests.common import mock_service, get_test_home_assistant
|
||||
from tests.common import get_test_home_assistant, mock_service
|
||||
|
||||
|
||||
def validate_config(config):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue