mirror of
https://github.com/home-assistant/core.git
synced 2025-11-17 15:00:12 +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,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
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user