Prechádzať zdrojové kódy

Utils: formatting of imports to satisfy ruff

Jason Rumney 1 rok pred
rodič
commit
e5967646e5
3 zmenil súbory, kde vykonal 4 pridanie a 3 odobranie
  1. 1 0
      util/best_match.py
  2. 1 0
      util/duplicates.py
  3. 2 3
      util/match_against.py

+ 1 - 0
util/best_match.py

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

+ 1 - 0
util/duplicates.py

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

+ 2 - 3
util/match_against.py

@@ -3,9 +3,8 @@
 import json
 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