4
0
Эх сурвалжийг харах

Utils: formatting of imports to satisfy ruff

Jason Rumney 1 жил өмнө
parent
commit
e5967646e5

+ 1 - 0
util/best_match.py

@@ -4,6 +4,7 @@ import json
 import sys
 import sys
 
 
 from custom_components.tuya_local.helpers.device_config import possible_matches
 from custom_components.tuya_local.helpers.device_config import possible_matches
+
 from .common_funcs import FakeDevice
 from .common_funcs import FakeDevice
 
 
 
 

+ 1 - 0
util/duplicates.py

@@ -3,6 +3,7 @@
 import sys
 import sys
 
 
 from custom_components.tuya_local.helpers.device_config import possible_matches
 from custom_components.tuya_local.helpers.device_config import possible_matches
+
 from .common_funcs import load_config, make_sample_dps
 from .common_funcs import load_config, make_sample_dps
 
 
 
 

+ 2 - 3
util/match_against.py

@@ -3,9 +3,8 @@
 import json
 import json
 import sys
 import sys
 
 
-from custom_components.tuya_local.helpers.device_config import (
-    _typematch,
-)
+from custom_components.tuya_local.helpers.device_config import _typematch
+
 from .common_funcs import FakeDevice, load_config
 from .common_funcs import FakeDevice, load_config