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,11 +1,12 @@
|
|||
"""The tests for the uptime sensor platform."""
|
||||
import asyncio
|
||||
from datetime import timedelta
|
||||
import unittest
|
||||
from unittest.mock import patch
|
||||
from datetime import timedelta
|
||||
|
||||
from homeassistant.setup import setup_component
|
||||
from homeassistant.components.uptime.sensor import UptimeSensor
|
||||
from homeassistant.setup import setup_component
|
||||
|
||||
from tests.common import get_test_home_assistant
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue