Prechádzať zdrojové kódy

Reorder imports to satisfy ruff

It seems to expect all-caps to come before mixed case imports.
Jason Rumney 1 rok pred
rodič
commit
844637f618

+ 1 - 1
tests/devices/test_digoo_dgsp01_dual_nightlight_switch.py

@@ -1,9 +1,9 @@
 """Tests for the switch entity."""
 
 from homeassistant.components.light import (
+    EFFECT_OFF,
     ColorMode,
     LightEntityFeature,
-    EFFECT_OFF,
 )
 from homeassistant.components.switch import SwitchDeviceClass
 

+ 1 - 1
tests/devices/test_moes_rgb_socket.py

@@ -1,9 +1,9 @@
 """Tests for the MoesHouse RGB smart socket."""
 
 from homeassistant.components.light import (
+    EFFECT_OFF,
     ColorMode,
     LightEntityFeature,
-    EFFECT_OFF,
 )
 from homeassistant.components.sensor import SensorDeviceClass
 from homeassistant.components.switch import SwitchDeviceClass

+ 1 - 1
tests/devices/test_rgbcw_lightbulb.py

@@ -1,7 +1,7 @@
 from homeassistant.components.light import (
+    EFFECT_OFF,
     ColorMode,
     LightEntityFeature,
-    EFFECT_OFF,
 )
 from homeassistant.const import UnitOfTime