瀏覽代碼

cleanup: import order

Jason Rumney 10 小時之前
父節點
當前提交
01df3fc8d3
共有 3 個文件被更改,包括 3 次插入 和 3 次删除
  1. 1 1
      custom_components/tuya_local/config_flow.py
  2. 1 1
      tests/test_config_flow.py
  3. 1 1
      tests/test_device_config.py

+ 1 - 1
custom_components/tuya_local/config_flow.py

@@ -3,8 +3,8 @@ import logging
 from collections import OrderedDict
 from typing import Any
 
-import tinytuya
 import probatio as vol
+import tinytuya
 from homeassistant.config_entries import (
     CONN_CLASS_LOCAL_PUSH,
     ConfigEntry,

+ 1 - 1
tests/test_config_flow.py

@@ -2,8 +2,8 @@
 
 from unittest.mock import AsyncMock
 
-import pytest
 import probatio as vol
+import pytest
 from homeassistant.const import CONF_HOST, CONF_NAME
 from homeassistant.data_entry_flow import FlowResultType
 from homeassistant.exceptions import ConfigEntryNotReady

+ 1 - 1
tests/test_device_config.py

@@ -3,8 +3,8 @@
 import gc
 import warnings
 
-import pytest
 import probatio as vol
+import pytest
 from fuzzywuzzy import fuzz
 from homeassistant.components.sensor import SensorDeviceClass