Explorar o código

DejaVu black reformatting.

black must be fighting against some other reformatter here.
Jason Rumney %!s(int64=4) %!d(string=hai) anos
pai
achega
2b910e4741
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      custom_components/tuya_local/helpers/device_config.py

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

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