diff --git a/homeassistant/components/eddystone_temperature/sensor.py b/homeassistant/components/eddystone_temperature/sensor.py index 5a86d45e9f0..347ee1b242f 100644 --- a/homeassistant/components/eddystone_temperature/sensor.py +++ b/homeassistant/components/eddystone_temperature/sensor.py @@ -7,7 +7,6 @@ from __future__ import annotations import logging -# pylint: disable=import-error from beacontools import BeaconScanner, EddystoneFilter, EddystoneTLMFrame import voluptuous as vol diff --git a/homeassistant/components/emulated_hue/config.py b/homeassistant/components/emulated_hue/config.py index 104e05605cb..379f0bec9d7 100644 --- a/homeassistant/components/emulated_hue/config.py +++ b/homeassistant/components/emulated_hue/config.py @@ -225,7 +225,7 @@ class Config: @callback def _clear_exposed_cache(self, event: EventType[EventStateChangedData]) -> None: """Clear the cache of exposed states.""" - self.get_exposed_states.cache_clear() # pylint: disable=no-member + self.get_exposed_states.cache_clear() def is_state_exposed(self, state: State) -> bool: """Cache determine if an entity should be exposed on the emulated bridge.""" diff --git a/homeassistant/components/eq3btsmart/climate.py b/homeassistant/components/eq3btsmart/climate.py index 1ac4531a376..700bc61293f 100644 --- a/homeassistant/components/eq3btsmart/climate.py +++ b/homeassistant/components/eq3btsmart/climate.py @@ -4,7 +4,7 @@ from __future__ import annotations import logging from typing import Any -import eq3bt as eq3 # pylint: disable=import-error +import eq3bt as eq3 import voluptuous as vol from homeassistant.components.climate import ( diff --git a/homeassistant/components/esphome/bluetooth/client.py b/homeassistant/components/esphome/bluetooth/client.py index 4ce8909587e..ad43ca5df7d 100644 --- a/homeassistant/components/esphome/bluetooth/client.py +++ b/homeassistant/components/esphome/bluetooth/client.py @@ -51,9 +51,7 @@ CCCD_INDICATE_BYTES = b"\x02\x00" DEFAULT_MAX_WRITE_WITHOUT_RESPONSE = DEFAULT_MTU - GATT_HEADER_SIZE _LOGGER = logging.getLogger(__name__) -_WrapFuncType = TypeVar( # pylint: disable=invalid-name - "_WrapFuncType", bound=Callable[..., Any] -) +_WrapFuncType = TypeVar("_WrapFuncType", bound=Callable[..., Any]) def mac_to_int(address: str) -> int: diff --git a/homeassistant/components/esphome/entity.py b/homeassistant/components/esphome/entity.py index 8b69d011804..db300ab1b28 100644 --- a/homeassistant/components/esphome/entity.py +++ b/homeassistant/components/esphome/entity.py @@ -4,7 +4,7 @@ from __future__ import annotations from collections.abc import Callable import functools import math -from typing import Any, Generic, TypeVar, cast # pylint: disable=unused-import +from typing import Any, Generic, TypeVar, cast from aioesphomeapi import ( EntityCategory as EsphomeEntityCategory, diff --git a/homeassistant/components/esphome/light.py b/homeassistant/components/esphome/light.py index 95fe864eea8..e170d8b3948 100644 --- a/homeassistant/components/esphome/light.py +++ b/homeassistant/components/esphome/light.py @@ -181,7 +181,6 @@ class EsphomeLight(EsphomeEntity[LightInfo, LightState], LightEntity): try_keep_current_mode = False if (rgbw_ha := kwargs.get(ATTR_RGBW_COLOR)) is not None: - # pylint: disable-next=invalid-name *rgb, w = tuple(x / 255 for x in rgbw_ha) # type: ignore[assignment] color_bri = max(rgb) # normalize rgb @@ -194,7 +193,6 @@ class EsphomeLight(EsphomeEntity[LightInfo, LightState], LightEntity): try_keep_current_mode = False if (rgbww_ha := kwargs.get(ATTR_RGBWW_COLOR)) is not None: - # pylint: disable-next=invalid-name *rgb, cw, ww = tuple(x / 255 for x in rgbww_ha) # type: ignore[assignment] color_bri = max(rgb) # normalize rgb diff --git a/homeassistant/components/eufy/light.py b/homeassistant/components/eufy/light.py index 625b5cda0ba..5185dcd8818 100644 --- a/homeassistant/components/eufy/light.py +++ b/homeassistant/components/eufy/light.py @@ -134,7 +134,6 @@ class EufyHomeLight(LightEntity): """Turn the specified light on.""" brightness = kwargs.get(ATTR_BRIGHTNESS) colortemp = kwargs.get(ATTR_COLOR_TEMP) - # pylint: disable-next=invalid-name hs = kwargs.get(ATTR_HS_COLOR) if brightness is not None: diff --git a/homeassistant/components/google_assistant/report_state.py b/homeassistant/components/google_assistant/report_state.py index 109ea61dbab..5248ce7c4da 100644 --- a/homeassistant/components/google_assistant/report_state.py +++ b/homeassistant/components/google_assistant/report_state.py @@ -147,6 +147,6 @@ def async_enable_report_state(hass: HomeAssistant, google_config: AbstractConfig def unsub_all(): unsub() if unsub_pending: - unsub_pending() # pylint: disable=not-callable + unsub_pending() return unsub_all diff --git a/homeassistant/components/google_mail/config_flow.py b/homeassistant/components/google_mail/config_flow.py index 0552f57bf5c..b57947302cc 100644 --- a/homeassistant/components/google_mail/config_flow.py +++ b/homeassistant/components/google_mail/config_flow.py @@ -60,9 +60,7 @@ class OAuth2FlowHandler( def _get_profile() -> str: """Get profile from inside the executor.""" - users = build( # pylint: disable=no-member - "gmail", "v1", credentials=credentials - ).users() + users = build("gmail", "v1", credentials=credentials).users() return users.getProfile(userId="me").execute()["emailAddress"] credentials = Credentials(data[CONF_TOKEN][CONF_ACCESS_TOKEN]) diff --git a/homeassistant/components/gtfs/sensor.py b/homeassistant/components/gtfs/sensor.py index 6f8daf2918d..87d2b55aa24 100644 --- a/homeassistant/components/gtfs/sensor.py +++ b/homeassistant/components/gtfs/sensor.py @@ -505,7 +505,6 @@ def setup_platform( joined_path = os.path.join(gtfs_dir, sqlite_file) gtfs = pygtfs.Schedule(joined_path) - # pylint: disable=no-member if not gtfs.feeds: pygtfs.append_feed(gtfs, os.path.join(gtfs_dir, data)) diff --git a/homeassistant/components/hassio/http.py b/homeassistant/components/hassio/http.py index 0e18a009323..5bcdb6896cd 100644 --- a/homeassistant/components/hassio/http.py +++ b/homeassistant/components/hassio/http.py @@ -82,7 +82,6 @@ NO_STORE = re.compile( r"|app/entrypoint.js" r")$" ) -# pylint: enable=implicit-str-concat # fmt: on RESPONSE_HEADERS_FILTER = { diff --git a/homeassistant/components/hassio/websocket_api.py b/homeassistant/components/hassio/websocket_api.py index ac0395ebd9f..8f44f7f2843 100644 --- a/homeassistant/components/hassio/websocket_api.py +++ b/homeassistant/components/hassio/websocket_api.py @@ -41,7 +41,6 @@ SCHEMA_WEBSOCKET_EVENT = vol.Schema( ) # Endpoints needed for ingress can't require admin because addons can set `panel_admin: false` -# pylint: disable=implicit-str-concat # fmt: off WS_NO_ADMIN_ENDPOINTS = re.compile( r"^(?:" @@ -50,7 +49,6 @@ WS_NO_ADMIN_ENDPOINTS = re.compile( r")$" # noqa: ISC001 ) # fmt: on -# pylint: enable=implicit-str-concat _LOGGER: logging.Logger = logging.getLogger(__package__) diff --git a/homeassistant/components/html5/notify.py b/homeassistant/components/html5/notify.py index 931d446b2a0..d65a4c42488 100644 --- a/homeassistant/components/html5/notify.py +++ b/homeassistant/components/html5/notify.py @@ -113,7 +113,6 @@ SUBSCRIPTION_SCHEMA = vol.All( dict, vol.Schema( { - # pylint: disable=no-value-for-parameter vol.Required(ATTR_ENDPOINT): vol.Url(), vol.Required(ATTR_KEYS): KEYS_SCHEMA, vol.Optional(ATTR_EXPIRATIONTIME): vol.Any(None, cv.positive_int), diff --git a/homeassistant/components/hue/v1/light.py b/homeassistant/components/hue/v1/light.py index 8ae09ef9d47..18440f68239 100644 --- a/homeassistant/components/hue/v1/light.py +++ b/homeassistant/components/hue/v1/light.py @@ -224,7 +224,7 @@ async def async_setup_entry(hass, config_entry, async_add_entities): # Once we do a rooms update, we cancel the listener # until the next time lights are added bridge.reset_jobs.remove(cancel_update_rooms_listener) - cancel_update_rooms_listener() # pylint: disable=not-callable + cancel_update_rooms_listener() cancel_update_rooms_listener = None @callback diff --git a/homeassistant/components/ios/__init__.py b/homeassistant/components/ios/__init__.py index 052ed9f94a0..dd5ea743d57 100644 --- a/homeassistant/components/ios/__init__.py +++ b/homeassistant/components/ios/__init__.py @@ -293,7 +293,6 @@ async def async_setup_entry( return True -# pylint: disable=invalid-name class iOSPushConfigView(HomeAssistantView): """A view that provides the push categories configuration.""" diff --git a/homeassistant/components/ios/notify.py b/homeassistant/components/ios/notify.py index 519bb87d98a..2f42edb4bc1 100644 --- a/homeassistant/components/ios/notify.py +++ b/homeassistant/components/ios/notify.py @@ -25,7 +25,6 @@ _LOGGER = logging.getLogger(__name__) PUSH_URL = "https://ios-push.home-assistant.io/push" -# pylint: disable=invalid-name def log_rate_limits(hass, target, resp, level=20): """Output rate limit log line at given level.""" rate_limits = resp["rateLimits"] diff --git a/homeassistant/components/keyboard/__init__.py b/homeassistant/components/keyboard/__init__.py index f4e7f9e0424..d129505515d 100644 --- a/homeassistant/components/keyboard/__init__.py +++ b/homeassistant/components/keyboard/__init__.py @@ -1,5 +1,5 @@ """Support to emulate keyboard presses on host machine.""" -from pykeyboard import PyKeyboard # pylint: disable=import-error +from pykeyboard import PyKeyboard import voluptuous as vol from homeassistant.const import ( diff --git a/homeassistant/components/keyboard_remote/__init__.py b/homeassistant/components/keyboard_remote/__init__.py index df3b6f0e427..eecde05d1f4 100644 --- a/homeassistant/components/keyboard_remote/__init__.py +++ b/homeassistant/components/keyboard_remote/__init__.py @@ -1,5 +1,4 @@ """Receive signals from a keyboard and use it as a remote control.""" -# pylint: disable=import-error from __future__ import annotations import asyncio @@ -331,7 +330,6 @@ class KeyboardRemote: _LOGGER.debug("Start device monitoring") await self.hass.async_add_executor_job(self.dev.grab) async for event in self.dev.async_read_loop(): - # pylint: disable=no-member if event.type is ecodes.EV_KEY: if event.value in self.key_values: _LOGGER.debug( diff --git a/homeassistant/components/konnected/__init__.py b/homeassistant/components/konnected/__init__.py index 119c7c946a5..fa8a35d7a64 100644 --- a/homeassistant/components/konnected/__init__.py +++ b/homeassistant/components/konnected/__init__.py @@ -197,7 +197,6 @@ DEVICE_SCHEMA_YAML = vol.All( import_device_validator, ) -# pylint: disable=no-value-for-parameter CONFIG_SCHEMA = vol.Schema( { DOMAIN: vol.All( diff --git a/homeassistant/components/limitlessled/light.py b/homeassistant/components/limitlessled/light.py index 801f104bd3b..6677768dd00 100644 --- a/homeassistant/components/limitlessled/light.py +++ b/homeassistant/components/limitlessled/light.py @@ -278,7 +278,6 @@ class LimitlessLEDGroup(LightEntity, RestoreEntity): return ColorMode.COLOR_TEMP return ColorMode.HS - # pylint: disable=arguments-differ @state(False) def turn_off(self, transition_time: int, pipeline: Pipeline, **kwargs: Any) -> None: """Turn off a group.""" @@ -286,7 +285,6 @@ class LimitlessLEDGroup(LightEntity, RestoreEntity): pipeline.transition(transition_time, brightness=0.0) pipeline.off() - # pylint: disable=arguments-differ @state(True) def turn_on(self, transition_time: int, pipeline: Pipeline, **kwargs: Any) -> None: """Turn on (or adjust property of) a group.""" diff --git a/homeassistant/components/linode/binary_sensor.py b/homeassistant/components/linode/binary_sensor.py index 2c63bbc0bc8..17a68e9be9c 100644 --- a/homeassistant/components/linode/binary_sensor.py +++ b/homeassistant/components/linode/binary_sensor.py @@ -61,7 +61,7 @@ class LinodeBinarySensor(BinarySensorEntity): _attr_device_class = BinarySensorDeviceClass.MOVING - def __init__(self, li, node_id): # pylint: disable=invalid-name + def __init__(self, li, node_id): """Initialize a new Linode sensor.""" self._linode = li self._node_id = node_id diff --git a/homeassistant/components/linode/switch.py b/homeassistant/components/linode/switch.py index 183abbc068c..b59e8f901e5 100644 --- a/homeassistant/components/linode/switch.py +++ b/homeassistant/components/linode/switch.py @@ -57,7 +57,7 @@ def setup_platform( class LinodeSwitch(SwitchEntity): """Representation of a Linode Node switch.""" - def __init__(self, li, node_id): # pylint: disable=invalid-name + def __init__(self, li, node_id): """Initialize a new Linode sensor.""" self._linode = li self._node_id = node_id diff --git a/homeassistant/components/lirc/__init__.py b/homeassistant/components/lirc/__init__.py index 181783b6bbd..1b9688906ff 100644 --- a/homeassistant/components/lirc/__init__.py +++ b/homeassistant/components/lirc/__init__.py @@ -1,5 +1,4 @@ """Support for LIRC devices.""" -# pylint: disable=import-error import logging import threading import time diff --git a/homeassistant/components/logger/__init__.py b/homeassistant/components/logger/__init__.py index cd2761510d3..e7f3d6b78f1 100644 --- a/homeassistant/components/logger/__init__.py +++ b/homeassistant/components/logger/__init__.py @@ -126,7 +126,6 @@ def _get_logger_class(hass_overrides: dict[str, int]) -> type[logging.Logger]: super().setLevel(level) - # pylint: disable=invalid-name def orig_setLevel(self, level: int | str) -> None: """Set the log level.""" super().setLevel(level) diff --git a/tests/components/emulated_hue/test_hue_api.py b/tests/components/emulated_hue/test_hue_api.py index b42b40b2739..24acde0709a 100644 --- a/tests/components/emulated_hue/test_hue_api.py +++ b/tests/components/emulated_hue/test_hue_api.py @@ -1130,7 +1130,6 @@ async def test_put_light_state_fan(hass_hue, hue_client) -> None: assert round(fan_json["state"][HUE_API_STATE_BRI] * 100 / 254) == 100 -# pylint: disable=invalid-name async def test_put_with_form_urlencoded_content_type(hass_hue, hue_client) -> None: """Test the form with urlencoded content.""" entity_number = ENTITY_NUMBERS_BY_ID["light.ceiling_lights"] @@ -1215,7 +1214,6 @@ async def test_get_empty_groups_state(hue_client) -> None: assert result_json == {} -# pylint: disable=invalid-name async def perform_put_test_on_ceiling_lights( hass_hue, hue_client, content_type=CONTENT_TYPE_JSON ): diff --git a/tests/components/flux/test_switch.py b/tests/components/flux/test_switch.py index a7d7439226c..ed8a4756031 100644 --- a/tests/components/flux/test_switch.py +++ b/tests/components/flux/test_switch.py @@ -302,7 +302,6 @@ async def test_flux_before_sunrise_known_location( assert call.data[light.ATTR_XY_COLOR] == [0.606, 0.379] -# pylint: disable=invalid-name async def test_flux_after_sunrise_before_sunset( hass: HomeAssistant, enable_custom_integrations: None ) -> None: @@ -361,7 +360,6 @@ async def test_flux_after_sunrise_before_sunset( assert call.data[light.ATTR_XY_COLOR] == [0.439, 0.37] -# pylint: disable=invalid-name async def test_flux_after_sunset_before_stop( hass: HomeAssistant, enable_custom_integrations: None ) -> None: @@ -421,7 +419,6 @@ async def test_flux_after_sunset_before_stop( assert call.data[light.ATTR_XY_COLOR] == [0.506, 0.385] -# pylint: disable=invalid-name async def test_flux_after_stop_before_sunrise( hass: HomeAssistant, enable_custom_integrations: None ) -> None: @@ -480,7 +477,6 @@ async def test_flux_after_stop_before_sunrise( assert call.data[light.ATTR_XY_COLOR] == [0.606, 0.379] -# pylint: disable=invalid-name async def test_flux_with_custom_start_stop_times( hass: HomeAssistant, enable_custom_integrations: None ) -> None: @@ -603,7 +599,6 @@ async def test_flux_before_sunrise_stop_next_day( assert call.data[light.ATTR_XY_COLOR] == [0.606, 0.379] -# pylint: disable=invalid-name async def test_flux_after_sunrise_before_sunset_stop_next_day( hass: HomeAssistant, enable_custom_integrations: None ) -> None: @@ -666,7 +661,6 @@ async def test_flux_after_sunrise_before_sunset_stop_next_day( assert call.data[light.ATTR_XY_COLOR] == [0.439, 0.37] -# pylint: disable=invalid-name @pytest.mark.parametrize("x", [0, 1]) async def test_flux_after_sunset_before_midnight_stop_next_day( hass: HomeAssistant, x, enable_custom_integrations: None @@ -730,7 +724,6 @@ async def test_flux_after_sunset_before_midnight_stop_next_day( assert call.data[light.ATTR_XY_COLOR] == [0.588, 0.386] -# pylint: disable=invalid-name async def test_flux_after_sunset_after_midnight_stop_next_day( hass: HomeAssistant, enable_custom_integrations: None ) -> None: @@ -793,7 +786,6 @@ async def test_flux_after_sunset_after_midnight_stop_next_day( assert call.data[light.ATTR_XY_COLOR] == [0.601, 0.382] -# pylint: disable=invalid-name async def test_flux_after_stop_before_sunrise_stop_next_day( hass: HomeAssistant, enable_custom_integrations: None ) -> None: @@ -856,7 +848,6 @@ async def test_flux_after_stop_before_sunrise_stop_next_day( assert call.data[light.ATTR_XY_COLOR] == [0.606, 0.379] -# pylint: disable=invalid-name async def test_flux_with_custom_colortemps( hass: HomeAssistant, enable_custom_integrations: None ) -> None: @@ -918,7 +909,6 @@ async def test_flux_with_custom_colortemps( assert call.data[light.ATTR_XY_COLOR] == [0.469, 0.378] -# pylint: disable=invalid-name async def test_flux_with_custom_brightness( hass: HomeAssistant, enable_custom_integrations: None ) -> None: diff --git a/tests/components/fritz/conftest.py b/tests/components/fritz/conftest.py index acb135d01bb..08dce14f18d 100644 --- a/tests/components/fritz/conftest.py +++ b/tests/components/fritz/conftest.py @@ -26,7 +26,7 @@ class FritzServiceMock(Service): self.serviceId = serviceId -class FritzConnectionMock: # pylint: disable=too-few-public-methods +class FritzConnectionMock: """FritzConnection mocking.""" def __init__(self, services): diff --git a/tests/components/group/test_init.py b/tests/components/group/test_init.py index e4d737b04e2..3ea75fbce06 100644 --- a/tests/components/group/test_init.py +++ b/tests/components/group/test_init.py @@ -616,7 +616,6 @@ async def test_service_group_services_add_remove_entities(hass: HomeAssistant) - assert "person.one" not in list(group_state.attributes["entity_id"]) -# pylint: disable=invalid-name async def test_service_group_set_group_remove_group(hass: HomeAssistant) -> None: """Check if service are available.""" with assert_setup_component(0, "group"): diff --git a/tests/components/history/test_init.py b/tests/components/history/test_init.py index 04384834282..356fbb86b01 100644 --- a/tests/components/history/test_init.py +++ b/tests/components/history/test_init.py @@ -1,5 +1,4 @@ """The tests the History component.""" -# pylint: disable=invalid-name from datetime import timedelta from http import HTTPStatus import json diff --git a/tests/components/history/test_init_db_schema_30.py b/tests/components/history/test_init_db_schema_30.py index 32358e95e41..caf151cafe7 100644 --- a/tests/components/history/test_init_db_schema_30.py +++ b/tests/components/history/test_init_db_schema_30.py @@ -1,7 +1,6 @@ """The tests the History component.""" from __future__ import annotations -# pylint: disable=invalid-name from datetime import timedelta from http import HTTPStatus import json diff --git a/tests/components/history/test_websocket_api.py b/tests/components/history/test_websocket_api.py index 87489486614..9ba47303e53 100644 --- a/tests/components/history/test_websocket_api.py +++ b/tests/components/history/test_websocket_api.py @@ -1,5 +1,4 @@ """The tests the History component websocket_api.""" -# pylint: disable=protected-access,invalid-name import asyncio from datetime import timedelta from unittest.mock import patch diff --git a/tests/components/history/test_websocket_api_schema_32.py b/tests/components/history/test_websocket_api_schema_32.py index aebf5aa7ac2..6ef6f7225c1 100644 --- a/tests/components/history/test_websocket_api_schema_32.py +++ b/tests/components/history/test_websocket_api_schema_32.py @@ -1,5 +1,4 @@ """The tests the History component websocket_api.""" -# pylint: disable=protected-access,invalid-name import pytest diff --git a/tests/components/homematicip_cloud/test_device.py b/tests/components/homematicip_cloud/test_device.py index d84fe690df6..24842ab8beb 100644 --- a/tests/components/homematicip_cloud/test_device.py +++ b/tests/components/homematicip_cloud/test_device.py @@ -244,13 +244,13 @@ async def test_hmip_reset_energy_counter_services( blocking=True, ) assert hmip_device.mock_calls[-1][0] == "reset_energy_counter" - assert len(hmip_device._connection.mock_calls) == 2 # pylint: disable=W0212 + assert len(hmip_device._connection.mock_calls) == 2 await hass.services.async_call( "homematicip_cloud", "reset_energy_counter", {"entity_id": "all"}, blocking=True ) assert hmip_device.mock_calls[-1][0] == "reset_energy_counter" - assert len(hmip_device._connection.mock_calls) == 4 # pylint: disable=W0212 + assert len(hmip_device._connection.mock_calls) == 4 async def test_hmip_multi_area_device( diff --git a/tests/components/hyperion/test_config_flow.py b/tests/components/hyperion/test_config_flow.py index f9cef677ead..97b705ef731 100644 --- a/tests/components/hyperion/test_config_flow.py +++ b/tests/components/hyperion/test_config_flow.py @@ -763,7 +763,6 @@ async def test_options_priority(hass: HomeAssistant) -> None: {ATTR_ENTITY_ID: TEST_ENTITY_ID_1}, blocking=True, ) - # pylint: disable-next=unsubscriptable-object assert client.async_send_set_color.call_args[1][CONF_PRIORITY] == new_priority diff --git a/tests/components/insteon/test_init.py b/tests/components/insteon/test_init.py index 1c4e2abf123..15f529babd8 100644 --- a/tests/components/insteon/test_init.py +++ b/tests/components/insteon/test_init.py @@ -44,7 +44,6 @@ async def test_setup_entry(hass: HomeAssistant) -> None: await hass.async_block_till_done() hass.bus.async_fire(EVENT_HOMEASSISTANT_STOP) await hass.async_block_till_done() - # pylint: disable-next=no-member assert insteon.devices.async_save.call_count == 1 assert mock_close.called diff --git a/tests/components/lock/test_init.py b/tests/components/lock/test_init.py index 0d33881c46c..24b13d48a1e 100644 --- a/tests/components/lock/test_init.py +++ b/tests/components/lock/test_init.py @@ -73,7 +73,6 @@ async def test_lock_default(hass: HomeAssistant) -> None: async def test_lock_states(hass: HomeAssistant) -> None: """Test lock entity states.""" - # pylint: disable=protected-access lock = MockLockEntity() lock.hass = hass diff --git a/tests/components/logbook/test_init.py b/tests/components/logbook/test_init.py index 2a93e6e1d4c..eaa2a1e4192 100644 --- a/tests/components/logbook/test_init.py +++ b/tests/components/logbook/test_init.py @@ -1,5 +1,4 @@ """The tests for the logbook component.""" -# pylint: disable=invalid-name import asyncio import collections from collections.abc import Callable