Просмотр исходного кода

Black reformat

Reindent to satisfy black's expectations
Jason Rumney 2 лет назад
Родитель
Сommit
7640cee7f9
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      custom_components/tuya_local/device.py

+ 1 - 1
custom_components/tuya_local/device.py

@@ -572,7 +572,7 @@ class TuyaLocalDevice(object):
         # sort pending updates according to their API identifier
         pending_updates_sorted = sorted(
             self._pending_updates.items(), key=lambda x: int(x[0])
-            )
+        )
         self._pending_updates = {
             key: value
             for key, value in pending_updates_sorted