Bläddra i källkod

Cleanup: Reformat to satisfy ruff 0.3.0

Ruff pushed all their 2023 experimental changes to stable as a
"2024.2" release at end of Feb. So the CI linting broke on 1 Mar.

Mostly it seems to be that a blank line is expected between file
docstring and imports now.
Jason Rumney 1 år sedan
förälder
incheckning
d0dc80064d
82 ändrade filer med 82 tillägg och 0 borttagningar
  1. 1 0
      custom_components/tuya_local/__init__.py
  2. 1 0
      custom_components/tuya_local/alarm_control_panel.py
  3. 1 0
      custom_components/tuya_local/binary_sensor.py
  4. 1 0
      custom_components/tuya_local/button.py
  5. 1 0
      custom_components/tuya_local/climate.py
  6. 1 0
      custom_components/tuya_local/cover.py
  7. 1 0
      custom_components/tuya_local/diagnostics.py
  8. 1 0
      custom_components/tuya_local/event.py
  9. 1 0
      custom_components/tuya_local/fan.py
  10. 1 0
      custom_components/tuya_local/helpers/config.py
  11. 1 0
      custom_components/tuya_local/helpers/device_config.py
  12. 1 0
      custom_components/tuya_local/helpers/mixin.py
  13. 1 0
      custom_components/tuya_local/humidifier.py
  14. 1 0
      custom_components/tuya_local/lawn_mower.py
  15. 1 0
      custom_components/tuya_local/light.py
  16. 1 0
      custom_components/tuya_local/lock.py
  17. 1 0
      custom_components/tuya_local/number.py
  18. 1 0
      custom_components/tuya_local/remote.py
  19. 1 0
      custom_components/tuya_local/select.py
  20. 1 0
      custom_components/tuya_local/sensor.py
  21. 1 0
      custom_components/tuya_local/siren.py
  22. 1 0
      custom_components/tuya_local/switch.py
  23. 1 0
      custom_components/tuya_local/vacuum.py
  24. 1 0
      custom_components/tuya_local/water_heater.py
  25. 1 0
      tests/devices/test_avatto_blinds.py
  26. 1 0
      tests/devices/test_avatto_curtain_switch.py
  27. 1 0
      tests/devices/test_bcom_intercom_camera.py
  28. 1 0
      tests/devices/test_digoo_dgsp01_dual_nightlight_switch.py
  29. 1 0
      tests/devices/test_digoo_dgsp202.py
  30. 1 0
      tests/devices/test_energy_monitoring_powerstrip.py
  31. 1 0
      tests/devices/test_es01_powerstrip.py
  32. 1 0
      tests/devices/test_essentials_purifier.py
  33. 1 0
      tests/devices/test_garage_door_opener.py
  34. 1 0
      tests/devices/test_grid_connect_double_power_point.py
  35. 1 0
      tests/devices/test_kogan_garage_door_opener.py
  36. 1 0
      tests/devices/test_logicom_powerstrip.py
  37. 1 0
      tests/devices/test_m027_curtain.py
  38. 1 0
      tests/devices/test_moebot.py
  39. 1 0
      tests/devices/test_moes_rgb_socket.py
  40. 1 0
      tests/devices/test_parkside_plgs2012a1_smart_charger.py
  41. 1 0
      tests/devices/test_pc321ty_energy_meter.py
  42. 1 0
      tests/devices/test_qoto_03_sprinkler.py
  43. 1 0
      tests/devices/test_qs_c01_curtain.py
  44. 1 0
      tests/devices/test_sd123_hpr01_presence.py
  45. 1 0
      tests/devices/test_simple_blinds.py
  46. 1 0
      tests/devices/test_simple_switch_with_timer.py
  47. 1 0
      tests/devices/test_simple_switch_with_timerv2.py
  48. 1 0
      tests/devices/test_smartplug_encoded.py
  49. 1 0
      tests/devices/test_smartplugv1.py
  50. 1 0
      tests/devices/test_smartplugv2.py
  51. 1 0
      tests/devices/test_smartplugv2_energy.py
  52. 1 0
      tests/devices/test_tompd63lw_breaker.py
  53. 1 0
      tests/devices/test_woox_r4028_powerstrip.py
  54. 1 0
      tests/devices/test_zx_g30_alarm.py
  55. 1 0
      tests/test_alarm_control_panel.py
  56. 1 0
      tests/test_binary_sensor.py
  57. 1 0
      tests/test_button.py
  58. 1 0
      tests/test_camera.py
  59. 1 0
      tests/test_climate.py
  60. 1 0
      tests/test_config_flow.py
  61. 1 0
      tests/test_cover.py
  62. 1 0
      tests/test_device_config.py
  63. 1 0
      tests/test_diagnostics.py
  64. 1 0
      tests/test_event.py
  65. 1 0
      tests/test_fan.py
  66. 1 0
      tests/test_humidifier.py
  67. 1 0
      tests/test_lawn_mower.py
  68. 1 0
      tests/test_light.py
  69. 1 0
      tests/test_lock.py
  70. 1 0
      tests/test_number.py
  71. 1 0
      tests/test_remote.py
  72. 1 0
      tests/test_select.py
  73. 1 0
      tests/test_sensor.py
  74. 1 0
      tests/test_siren.py
  75. 1 0
      tests/test_switch.py
  76. 1 0
      tests/test_translations.py
  77. 1 0
      tests/test_vacuum.py
  78. 1 0
      tests/test_water_heater.py
  79. 1 0
      util/best_match.py
  80. 1 0
      util/catalog.py
  81. 1 0
      util/config_match.py
  82. 1 0
      util/match_against.py

+ 1 - 0
custom_components/tuya_local/__init__.py

@@ -6,6 +6,7 @@ Based on sean6541/tuya-homeassistant for service call logic, and TarxBoy's
 investigation into Goldair's tuyapi statuses
 https://github.com/codetheweb/tuyapi/issues/31.
 """
+
 import logging
 
 from homeassistant.config_entries import ConfigEntry

+ 1 - 0
custom_components/tuya_local/alarm_control_panel.py

@@ -1,6 +1,7 @@
 """
 Setup for different kinds of Tuya alarm control panels.
 """
+
 import logging
 
 from homeassistant.components.alarm_control_panel import AlarmControlPanelEntity

+ 1 - 0
custom_components/tuya_local/binary_sensor.py

@@ -1,6 +1,7 @@
 """
 Setup for different kinds of Tuya Binary sensors
 """
+
 import logging
 
 from homeassistant.components.binary_sensor import (

+ 1 - 0
custom_components/tuya_local/button.py

@@ -1,6 +1,7 @@
 """
 Setup for different kinds of Tuya button devices
 """
+
 import logging
 
 from homeassistant.components.button import ButtonDeviceClass, ButtonEntity

+ 1 - 0
custom_components/tuya_local/climate.py

@@ -1,6 +1,7 @@
 """
 Setup for different kinds of Tuya climate devices
 """
+
 import logging
 
 from homeassistant.components.climate import (

+ 1 - 0
custom_components/tuya_local/cover.py

@@ -1,6 +1,7 @@
 """
 Setup for different kinds of Tuya cover devices
 """
+
 import logging
 
 from homeassistant.components.cover import (

+ 1 - 0
custom_components/tuya_local/diagnostics.py

@@ -1,4 +1,5 @@
 """Diagnostics support for tuya-local."""
+
 from __future__ import annotations
 
 from typing import Any

+ 1 - 0
custom_components/tuya_local/event.py

@@ -1,6 +1,7 @@
 """
 Implementation of Tuya events
 """
+
 import logging
 
 from homeassistant.components.event import EventDeviceClass, EventEntity

+ 1 - 0
custom_components/tuya_local/fan.py

@@ -1,6 +1,7 @@
 """
 Setup for different kinds of Tuya fan devices
 """
+
 import logging
 from typing import Any
 

+ 1 - 0
custom_components/tuya_local/helpers/config.py

@@ -1,6 +1,7 @@
 """
 Helper for general config
 """
+
 import logging
 
 from .. import DOMAIN

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

@@ -1,6 +1,7 @@
 """
 Config parser for Tuya Local devices.
 """
+
 import logging
 from base64 import b64decode, b64encode
 from collections.abc import Sequence

+ 1 - 0
custom_components/tuya_local/helpers/mixin.py

@@ -1,6 +1,7 @@
 """
 Mixins to make writing new platforms easier
 """
+
 import logging
 
 from homeassistant.const import (

+ 1 - 0
custom_components/tuya_local/humidifier.py

@@ -1,6 +1,7 @@
 """
 Setup for different kinds of Tuya humidifier devices
 """
+
 import logging
 
 from homeassistant.components.humidifier import (

+ 1 - 0
custom_components/tuya_local/lawn_mower.py

@@ -1,6 +1,7 @@
 """
 Setup for different kinds of Tuya lawn mowers
 """
+
 from homeassistant.components.lawn_mower import LawnMowerEntity
 from homeassistant.components.lawn_mower.const import (
     SERVICE_DOCK,

+ 1 - 0
custom_components/tuya_local/light.py

@@ -1,6 +1,7 @@
 """
 Setup for different kinds of Tuya light devices
 """
+
 import logging
 from struct import pack, unpack
 

+ 1 - 0
custom_components/tuya_local/lock.py

@@ -1,6 +1,7 @@
 """
 Setup for different kinds of Tuya lock devices
 """
+
 from homeassistant.components.lock import LockEntity
 
 from .device import TuyaLocalDevice

+ 1 - 0
custom_components/tuya_local/number.py

@@ -1,6 +1,7 @@
 """
 Setup for different kinds of Tuya numbers
 """
+
 import logging
 
 from homeassistant.components.number import NumberEntity

+ 1 - 0
custom_components/tuya_local/remote.py

@@ -2,6 +2,7 @@
 Implementation of Tuya remote control devices
 Based on broadlink integration for code saving under HA storage
 """
+
 import asyncio
 import json
 import logging

+ 1 - 0
custom_components/tuya_local/select.py

@@ -1,6 +1,7 @@
 """
 Setup for different kinds of Tuya selects
 """
+
 from homeassistant.components.select import SelectEntity
 
 from .device import TuyaLocalDevice

+ 1 - 0
custom_components/tuya_local/sensor.py

@@ -1,6 +1,7 @@
 """
 Setup for different kinds of Tuya sensors
 """
+
 import logging
 
 from homeassistant.components.sensor import (

+ 1 - 0
custom_components/tuya_local/siren.py

@@ -1,6 +1,7 @@
 """
 Setup for Tuya siren devices
 """
+
 from homeassistant.components.siren import SirenEntity, SirenEntityFeature
 from homeassistant.components.siren.const import (
     ATTR_DURATION,

+ 1 - 0
custom_components/tuya_local/switch.py

@@ -1,6 +1,7 @@
 """
 Setup for different kinds of Tuya switch devices
 """
+
 from homeassistant.components.switch import SwitchDeviceClass, SwitchEntity
 
 from .device import TuyaLocalDevice

+ 1 - 0
custom_components/tuya_local/vacuum.py

@@ -1,6 +1,7 @@
 """
 Setup for different kinds of Tuya vacuum cleaners
 """
+
 from homeassistant.components.vacuum import (
     SERVICE_CLEAN_SPOT,
     SERVICE_RETURN_TO_BASE,

+ 1 - 0
custom_components/tuya_local/water_heater.py

@@ -1,6 +1,7 @@
 """
 Setup for different kinds of Tuya water heater devices
 """
+
 import logging
 
 from homeassistant.components.water_heater import (

+ 1 - 0
tests/devices/test_avatto_blinds.py

@@ -1,4 +1,5 @@
 """Tests for the Avatto roller blinds controller."""
+
 from homeassistant.components.cover import CoverDeviceClass, CoverEntityFeature
 from homeassistant.components.sensor import SensorDeviceClass
 from homeassistant.const import UnitOfTime

+ 1 - 0
tests/devices/test_avatto_curtain_switch.py

@@ -1,4 +1,5 @@
 """Tests for the Avatto roller blinds controller."""
+
 from homeassistant.components.cover import CoverDeviceClass, CoverEntityFeature
 
 from ..const import AVATTO_CURTAIN_PAYLOAD

+ 1 - 0
tests/devices/test_bcom_intercom_camera.py

@@ -1,4 +1,5 @@
 """Tests for the bcom intercom camera"""
+
 from ..const import BCOM_CAMERA_PAYLOAD
 from .base_device_tests import TuyaDeviceTestCase
 

+ 1 - 0
tests/devices/test_digoo_dgsp01_dual_nightlight_switch.py

@@ -1,4 +1,5 @@
 """Tests for the switch entity."""
+
 from homeassistant.components.light import ColorMode, LightEntityFeature
 from homeassistant.components.switch import SwitchDeviceClass
 

+ 1 - 0
tests/devices/test_digoo_dgsp202.py

@@ -1,4 +1,5 @@
 """Tests for Digoo DSSP202 dual switch with timers and energy monitoring"""
+
 from homeassistant.components.sensor import SensorDeviceClass
 from homeassistant.components.switch import SwitchDeviceClass
 from homeassistant.const import (

+ 1 - 0
tests/devices/test_energy_monitoring_powerstrip.py

@@ -1,4 +1,5 @@
 """Tests for the energy monitoring powerstrip."""
+
 from homeassistant.components.sensor import STATE_CLASS_MEASUREMENT, SensorDeviceClass
 from homeassistant.components.switch import SwitchDeviceClass
 from homeassistant.const import (

+ 1 - 0
tests/devices/test_es01_powerstrip.py

@@ -1,4 +1,5 @@
 """Tests for the ES01 powerstrip."""
+
 from homeassistant.components.switch import SwitchDeviceClass
 from homeassistant.const import UnitOfTime
 

+ 1 - 0
tests/devices/test_essentials_purifier.py

@@ -1,4 +1,5 @@
 """Tests for the essentials air purifier."""
+
 from homeassistant.components.button import ButtonDeviceClass
 from homeassistant.components.sensor import SensorDeviceClass
 from homeassistant.const import (

+ 1 - 0
tests/devices/test_garage_door_opener.py

@@ -1,4 +1,5 @@
 """Tests for the simple garage door opener."""
+
 from homeassistant.components.cover import CoverDeviceClass, CoverEntityFeature
 
 from ..const import SIMPLE_GARAGE_DOOR_PAYLOAD

+ 1 - 0
tests/devices/test_grid_connect_double_power_point.py

@@ -1,4 +1,5 @@
 """Tests for the switch entity."""
+
 from homeassistant.components.sensor import SensorDeviceClass
 from homeassistant.components.switch import SwitchDeviceClass
 from homeassistant.const import (

+ 1 - 0
tests/devices/test_kogan_garage_door_opener.py

@@ -1,4 +1,5 @@
 """Tests for the simple garage door opener."""
+
 from homeassistant.components.binary_sensor import BinarySensorDeviceClass
 from homeassistant.components.cover import CoverDeviceClass, CoverEntityFeature
 from homeassistant.components.sensor import SensorDeviceClass

+ 1 - 0
tests/devices/test_logicom_powerstrip.py

@@ -1,4 +1,5 @@
 """Tests for the Logicom Strippy 4-way+USB powerstrip."""
+
 from homeassistant.components.switch import SwitchDeviceClass
 from homeassistant.const import UnitOfTime
 

+ 1 - 0
tests/devices/test_m027_curtain.py

@@ -1,4 +1,5 @@
 """Tests for the M027 curtain module."""
+
 from homeassistant.components.cover import CoverDeviceClass, CoverEntityFeature
 from homeassistant.const import UnitOfTime
 

+ 1 - 0
tests/devices/test_moebot.py

@@ -3,6 +3,7 @@ Test MoeBot S mower.
 Primarily for testing the STOP command which this device is the first to use,
 and the lawn_mower platform.
 """
+
 from homeassistant.components.lawn_mower.const import (
     LawnMowerActivity,
     LawnMowerEntityFeature,

+ 1 - 0
tests/devices/test_moes_rgb_socket.py

@@ -1,4 +1,5 @@
 """Tests for the MoesHouse RGB smart socket."""
+
 from homeassistant.components.light import ColorMode, LightEntityFeature
 from homeassistant.components.sensor import SensorDeviceClass
 from homeassistant.components.switch import SwitchDeviceClass

+ 1 - 0
tests/devices/test_parkside_plgs2012a1_smart_charger.py

@@ -1,4 +1,5 @@
 """Tests for Parkside PLGS 2012 A1 Smart Charger"""
+
 from homeassistant.components.binary_sensor import BinarySensorDeviceClass
 from homeassistant.components.number.const import NumberDeviceClass
 from homeassistant.components.sensor import STATE_CLASS_MEASUREMENT, SensorDeviceClass

+ 1 - 0
tests/devices/test_pc321ty_energy_meter.py

@@ -1,4 +1,5 @@
 """Tests for the PC321-TY Power Clamp Energy meter"""
+
 from homeassistant.components.sensor import (
     STATE_CLASS_MEASUREMENT,
     STATE_CLASS_TOTAL_INCREASING,

+ 1 - 0
tests/devices/test_qoto_03_sprinkler.py

@@ -1,4 +1,5 @@
 """Tests for the Quto 03 Sprinkler."""
+
 from homeassistant.components.binary_sensor import BinarySensorDeviceClass
 from homeassistant.const import PERCENTAGE, UnitOfTime
 

+ 1 - 0
tests/devices/test_qs_c01_curtain.py

@@ -1,4 +1,5 @@
 """Tests for the QS C01 curtain module."""
+
 from homeassistant.components.cover import CoverDeviceClass, CoverEntityFeature
 from homeassistant.const import UnitOfTime
 

+ 1 - 0
tests/devices/test_sd123_hpr01_presence.py

@@ -1,4 +1,5 @@
 """Tests for SD123 Human Presence Radar HPR01"""
+
 from homeassistant.components.binary_sensor import BinarySensorDeviceClass
 
 from ..const import SD123_PRESENCE_PAYLOAD

+ 1 - 0
tests/devices/test_simple_blinds.py

@@ -1,4 +1,5 @@
 """Tests for the simple blinds controller."""
+
 from homeassistant.components.cover import CoverDeviceClass, CoverEntityFeature
 
 from ..const import SIMPLE_BLINDS_PAYLOAD

+ 1 - 0
tests/devices/test_simple_switch_with_timer.py

@@ -1,4 +1,5 @@
 """Tests for a simple switch with timer"""
+
 from homeassistant.components.switch import SwitchDeviceClass
 from homeassistant.const import UnitOfTime
 

+ 1 - 0
tests/devices/test_simple_switch_with_timerv2.py

@@ -1,4 +1,5 @@
 """Tests for a simple switch with timer"""
+
 from homeassistant.components.switch import SwitchDeviceClass
 from homeassistant.const import UnitOfTime
 

+ 1 - 0
tests/devices/test_smartplug_encoded.py

@@ -1,4 +1,5 @@
 """Tests for the switch entity."""
+
 from homeassistant.components.switch import SwitchDeviceClass
 from homeassistant.const import UnitOfTime
 

+ 1 - 0
tests/devices/test_smartplugv1.py

@@ -1,4 +1,5 @@
 """Tests for the switch entity."""
+
 from homeassistant.components.binary_sensor import BinarySensorDeviceClass
 from homeassistant.components.sensor import SensorDeviceClass
 from homeassistant.components.switch import SwitchDeviceClass

+ 1 - 0
tests/devices/test_smartplugv2.py

@@ -1,4 +1,5 @@
 """Tests for the switch entity."""
+
 from homeassistant.components.sensor import SensorDeviceClass
 from homeassistant.components.switch import SwitchDeviceClass
 from homeassistant.const import (

+ 1 - 0
tests/devices/test_smartplugv2_energy.py

@@ -1,4 +1,5 @@
 """Tests for the switch entity."""
+
 from homeassistant.components.binary_sensor import BinarySensorDeviceClass
 from homeassistant.components.sensor import SensorDeviceClass
 from homeassistant.components.switch import SwitchDeviceClass

+ 1 - 0
tests/devices/test_tompd63lw_breaker.py

@@ -1,4 +1,5 @@
 """Tests for the switch entity."""
+
 from homeassistant.components.sensor import SensorDeviceClass
 from homeassistant.const import (
     UnitOfElectricCurrent,

+ 1 - 0
tests/devices/test_woox_r4028_powerstrip.py

@@ -1,4 +1,5 @@
 """Tests for the Woox R4028 powerstrip."""
+
 from homeassistant.components.switch import SwitchDeviceClass
 from homeassistant.const import UnitOfTime
 

+ 1 - 0
tests/devices/test_zx_g30_alarm.py

@@ -1,4 +1,5 @@
 """Tests for the ZX G30 Alarm Control Panel."""
+
 from homeassistant.components.alarm_control_panel import (
     AlarmControlPanelEntityFeature as Feature,
 )

+ 1 - 0
tests/test_alarm_control_panel.py

@@ -1,4 +1,5 @@
 """Tests for the alarm_control_panel entity."""
+
 from unittest.mock import AsyncMock, Mock
 
 import pytest

+ 1 - 0
tests/test_binary_sensor.py

@@ -1,4 +1,5 @@
 """Tests for the binary_sensor entity."""
+
 from unittest.mock import AsyncMock, Mock
 
 import pytest

+ 1 - 0
tests/test_button.py

@@ -1,4 +1,5 @@
 """Tests for the button entity."""
+
 from unittest.mock import AsyncMock, Mock
 
 import pytest

+ 1 - 0
tests/test_camera.py

@@ -1,4 +1,5 @@
 """Tests for the camera entity."""
+
 from unittest.mock import AsyncMock, Mock
 
 import pytest

+ 1 - 0
tests/test_climate.py

@@ -1,4 +1,5 @@
 """Tests for the light entity."""
+
 from unittest.mock import AsyncMock, Mock
 
 import pytest

+ 1 - 0
tests/test_config_flow.py

@@ -1,4 +1,5 @@
 """Tests for the config flow."""
+
 from unittest.mock import ANY, AsyncMock, MagicMock, patch
 
 import pytest

+ 1 - 0
tests/test_cover.py

@@ -1,4 +1,5 @@
 """Tests for the cover entity."""
+
 from unittest.mock import AsyncMock, Mock
 
 import pytest

+ 1 - 0
tests/test_device_config.py

@@ -1,4 +1,5 @@
 """Test the config parser"""
+
 from unittest import IsolatedAsyncioTestCase
 from unittest.mock import MagicMock
 

+ 1 - 0
tests/test_diagnostics.py

@@ -1,4 +1,5 @@
 """Tests for diagnostics platform"""
+
 from unittest.mock import AsyncMock
 
 import pytest

+ 1 - 0
tests/test_event.py

@@ -1,4 +1,5 @@
 """Tests for the event entity."""
+
 from unittest.mock import AsyncMock, Mock
 
 import pytest

+ 1 - 0
tests/test_fan.py

@@ -1,4 +1,5 @@
 """Tests for the fan entity."""
+
 from unittest.mock import AsyncMock, Mock
 
 import pytest

+ 1 - 0
tests/test_humidifier.py

@@ -1,4 +1,5 @@
 """Tests for the humidifier entity."""
+
 from unittest.mock import AsyncMock, Mock
 
 import pytest

+ 1 - 0
tests/test_lawn_mower.py

@@ -1,4 +1,5 @@
 """Tests for the lawn_mower entity."""
+
 from unittest.mock import AsyncMock, Mock
 
 import pytest

+ 1 - 0
tests/test_light.py

@@ -1,4 +1,5 @@
 """Tests for the light entity."""
+
 from unittest.mock import AsyncMock, Mock
 
 import pytest

+ 1 - 0
tests/test_lock.py

@@ -1,4 +1,5 @@
 """Tests for the lock entity."""
+
 from unittest.mock import AsyncMock, Mock
 
 import pytest

+ 1 - 0
tests/test_number.py

@@ -1,4 +1,5 @@
 """Tests for the number entity."""
+
 from unittest.mock import AsyncMock, Mock
 
 import pytest

+ 1 - 0
tests/test_remote.py

@@ -1,4 +1,5 @@
 """Tests for the remote entity."""
+
 from unittest.mock import AsyncMock, Mock
 
 import pytest

+ 1 - 0
tests/test_select.py

@@ -1,4 +1,5 @@
 """Tests for the select entity."""
+
 from unittest.mock import AsyncMock, Mock
 
 import pytest

+ 1 - 0
tests/test_sensor.py

@@ -1,4 +1,5 @@
 """Tests for the sensor entity."""
+
 from unittest.mock import AsyncMock, Mock
 
 import pytest

+ 1 - 0
tests/test_siren.py

@@ -1,4 +1,5 @@
 """Tests for the siren entity."""
+
 from unittest.mock import AsyncMock, Mock
 
 import pytest

+ 1 - 0
tests/test_switch.py

@@ -1,4 +1,5 @@
 """Tests for the switch entity."""
+
 from unittest.mock import AsyncMock, Mock
 
 import pytest

+ 1 - 0
tests/test_translations.py

@@ -1,6 +1,7 @@
 """
 Tests for translation files.
 """
+
 from fnmatch import fnmatch
 from os import walk
 from os.path import dirname, join

+ 1 - 0
tests/test_vacuum.py

@@ -1,4 +1,5 @@
 """Tests for the vacuum entity."""
+
 from unittest.mock import AsyncMock, Mock
 
 import pytest

+ 1 - 0
tests/test_water_heater.py

@@ -1,4 +1,5 @@
 """Tests for the water heater entity."""
+
 from unittest.mock import AsyncMock, Mock
 
 import pytest

+ 1 - 0
util/best_match.py

@@ -1,4 +1,5 @@
 """Find matching devices for the supplied dp list"""
+
 import json
 import sys
 

+ 1 - 0
util/catalog.py

@@ -5,6 +5,7 @@ This script was created to check for entity ids that change between versions.
 The script needs to be run on the version before a potential id changing
 modification, then again after to compare the two outputs.
 """
+
 import sys
 
 from custom_components.tuya_local.helpers.device_config import (

+ 1 - 0
util/config_match.py

@@ -1,4 +1,5 @@
 """Find matching devices for the supplied dp list"""
+
 import json
 import sys
 

+ 1 - 0
util/match_against.py

@@ -1,4 +1,5 @@
 """Find matching devices for the supplied dp list"""
+
 import json
 import sys