mirror of
https://github.com/home-assistant/core.git
synced 2025-11-12 20:40:18 +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
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user