Kaynağa Gözat

Reformat with black.

For some reason this whitespace change is not picked up by the black save hook.
It seems only the changes that affect line breaks are automatically handled.
Jason Rumney 4 yıl önce
ebeveyn
işleme
d106a7099e

+ 1 - 1
custom_components/tuya_local/helpers/device_config.py

@@ -304,7 +304,7 @@ class TuyaDpsConfig:
                     max = range.get("max")
                     max = range.get("max")
                 else:
                 else:
                     min = 0
                     min = 0
-                    max = 256 ** bytes - 1
+                    max = 256**bytes - 1
 
 
                 unpack_fmt = unpack_fmt + _bytesToFmt(bytes, min < 0)
                 unpack_fmt = unpack_fmt + _bytesToFmt(bytes, min < 0)
                 ranges.append({"min": min, "max": max})
                 ranges.append({"min": min, "max": max})