Add empty line after module docstring [r] (#112703)

This commit is contained in:
Marc Mueller 2024-03-08 15:05:07 +01:00 committed by GitHub
parent 988c71ecc5
commit a033574ee2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
316 changed files with 316 additions and 0 deletions

View File

@ -1,4 +1,5 @@
"""The Rabbit Air integration.""" """The Rabbit Air integration."""
from __future__ import annotations from __future__ import annotations
from rabbitair import Client, UdpClient from rabbitair import Client, UdpClient

View File

@ -1,4 +1,5 @@
"""Config flow for Rabbit Air integration.""" """Config flow for Rabbit Air integration."""
from __future__ import annotations from __future__ import annotations
import logging import logging

View File

@ -1,4 +1,5 @@
"""Rabbit Air Update Coordinator.""" """Rabbit Air Update Coordinator."""
from collections.abc import Coroutine from collections.abc import Coroutine
from datetime import timedelta from datetime import timedelta
import logging import logging

View File

@ -1,4 +1,5 @@
"""A base class for Rabbit Air entities.""" """A base class for Rabbit Air entities."""
from __future__ import annotations from __future__ import annotations
import logging import logging

View File

@ -1,4 +1,5 @@
"""Support for Rabbit Air fan entity.""" """Support for Rabbit Air fan entity."""
from __future__ import annotations from __future__ import annotations
from typing import Any from typing import Any

View File

@ -1,4 +1,5 @@
"""Integration with the Rachio Iro sprinkler system controller.""" """Integration with the Rachio Iro sprinkler system controller."""
from abc import abstractmethod from abc import abstractmethod
import logging import logging

View File

@ -1,4 +1,5 @@
"""Config flow for Rachio integration.""" """Config flow for Rachio integration."""
from __future__ import annotations from __future__ import annotations
from http import HTTPStatus from http import HTTPStatus

View File

@ -1,4 +1,5 @@
"""Adapter to wrap the rachiopy api for home assistant.""" """Adapter to wrap the rachiopy api for home assistant."""
from __future__ import annotations from __future__ import annotations
from http import HTTPStatus from http import HTTPStatus

View File

@ -1,4 +1,5 @@
"""Integration with the Rachio Iro sprinkler system controller.""" """Integration with the Rachio Iro sprinkler system controller."""
from abc import abstractmethod from abc import abstractmethod
from contextlib import suppress from contextlib import suppress
from datetime import timedelta from datetime import timedelta

View File

@ -1,4 +1,5 @@
"""Webhooks used by rachio.""" """Webhooks used by rachio."""
from __future__ import annotations from __future__ import annotations
from aiohttp import web from aiohttp import web

View File

@ -1,4 +1,5 @@
"""The Radarr component.""" """The Radarr component."""
from __future__ import annotations from __future__ import annotations
from typing import Any, cast from typing import Any, cast

View File

@ -1,4 +1,5 @@
"""Support for Radarr binary sensors.""" """Support for Radarr binary sensors."""
from __future__ import annotations from __future__ import annotations
from aiopyarr import Health from aiopyarr import Health

View File

@ -1,4 +1,5 @@
"""Support for Radarr calendar items.""" """Support for Radarr calendar items."""
from __future__ import annotations from __future__ import annotations
from datetime import datetime from datetime import datetime

View File

@ -1,4 +1,5 @@
"""Config flow for Radarr.""" """Config flow for Radarr."""
from __future__ import annotations from __future__ import annotations
from collections.abc import Mapping from collections.abc import Mapping

View File

@ -1,4 +1,5 @@
"""Data update coordinator for the Radarr integration.""" """Data update coordinator for the Radarr integration."""
from __future__ import annotations from __future__ import annotations
from abc import ABC, abstractmethod from abc import ABC, abstractmethod

View File

@ -1,4 +1,5 @@
"""Support for Radarr.""" """Support for Radarr."""
from __future__ import annotations from __future__ import annotations
from collections.abc import Callable from collections.abc import Callable

View File

@ -1,4 +1,5 @@
"""The Radio Browser integration.""" """The Radio Browser integration."""
from __future__ import annotations from __future__ import annotations
from aiodns.error import DNSError from aiodns.error import DNSError

View File

@ -1,4 +1,5 @@
"""Config flow for Radio Browser integration.""" """Config flow for Radio Browser integration."""
from __future__ import annotations from __future__ import annotations
from typing import Any from typing import Any

View File

@ -1,4 +1,5 @@
"""Expose Radio Browser as a media source.""" """Expose Radio Browser as a media source."""
from __future__ import annotations from __future__ import annotations
import mimetypes import mimetypes

View File

@ -1,4 +1,5 @@
"""The radiotherm component.""" """The radiotherm component."""
from __future__ import annotations from __future__ import annotations
from collections.abc import Coroutine from collections.abc import Coroutine

View File

@ -1,4 +1,5 @@
"""Support for Radio Thermostat wifi-enabled home thermostats.""" """Support for Radio Thermostat wifi-enabled home thermostats."""
from __future__ import annotations from __future__ import annotations
from typing import Any from typing import Any

View File

@ -1,4 +1,5 @@
"""Config flow for Radio Thermostat integration.""" """Config flow for Radio Thermostat integration."""
from __future__ import annotations from __future__ import annotations
import logging import logging

View File

@ -1,4 +1,5 @@
"""Coordinator for radiotherm.""" """Coordinator for radiotherm."""
from __future__ import annotations from __future__ import annotations
from datetime import timedelta from datetime import timedelta

View File

@ -1,4 +1,5 @@
"""The radiotherm component data.""" """The radiotherm component data."""
from __future__ import annotations from __future__ import annotations
from dataclasses import dataclass from dataclasses import dataclass

View File

@ -1,4 +1,5 @@
"""Support for radiotherm switches.""" """Support for radiotherm switches."""
from __future__ import annotations from __future__ import annotations
from typing import Any from typing import Any

View File

@ -1,4 +1,5 @@
"""Utils for radiotherm.""" """Utils for radiotherm."""
from __future__ import annotations from __future__ import annotations
from radiotherm.thermostat import CommonThermostat from radiotherm.thermostat import CommonThermostat

View File

@ -1,4 +1,5 @@
"""Support for Rain Bird Irrigation system LNK WiFi Module.""" """Support for Rain Bird Irrigation system LNK WiFi Module."""
from __future__ import annotations from __future__ import annotations
import logging import logging

View File

@ -1,4 +1,5 @@
"""Support for Rain Bird Irrigation system LNK WiFi Module.""" """Support for Rain Bird Irrigation system LNK WiFi Module."""
from __future__ import annotations from __future__ import annotations
import logging import logging

View File

@ -1,4 +1,5 @@
"""The number platform for rainbird.""" """The number platform for rainbird."""
from __future__ import annotations from __future__ import annotations
import logging import logging

View File

@ -1,4 +1,5 @@
"""Support for Rain Bird Irrigation system LNK Wi-Fi Module.""" """Support for Rain Bird Irrigation system LNK Wi-Fi Module."""
from __future__ import annotations from __future__ import annotations
import logging import logging

View File

@ -1,4 +1,5 @@
"""Support for Rain Bird Irrigation system LNK Wi-Fi Module.""" """Support for Rain Bird Irrigation system LNK Wi-Fi Module."""
from __future__ import annotations from __future__ import annotations
import logging import logging

View File

@ -1,4 +1,5 @@
"""Support for Melnor RainCloud sprinkler water timer.""" """Support for Melnor RainCloud sprinkler water timer."""
from datetime import timedelta from datetime import timedelta
import logging import logging

View File

@ -1,4 +1,5 @@
"""Support for Melnor RainCloud sprinkler water timer.""" """Support for Melnor RainCloud sprinkler water timer."""
from __future__ import annotations from __future__ import annotations
import logging import logging

View File

@ -1,4 +1,5 @@
"""Support for Melnor RainCloud sprinkler water timer.""" """Support for Melnor RainCloud sprinkler water timer."""
from __future__ import annotations from __future__ import annotations
import logging import logging

View File

@ -1,4 +1,5 @@
"""Support for Melnor RainCloud sprinkler water timer.""" """Support for Melnor RainCloud sprinkler water timer."""
from __future__ import annotations from __future__ import annotations
import logging import logging

View File

@ -1,4 +1,5 @@
"""The Rainforest Eagle integration.""" """The Rainforest Eagle integration."""
from __future__ import annotations from __future__ import annotations
from homeassistant.config_entries import ConfigEntry from homeassistant.config_entries import ConfigEntry

View File

@ -1,4 +1,5 @@
"""Config flow for Rainforest Eagle integration.""" """Config flow for Rainforest Eagle integration."""
from __future__ import annotations from __future__ import annotations
import logging import logging

View File

@ -1,4 +1,5 @@
"""Rainforest data.""" """Rainforest data."""
from __future__ import annotations from __future__ import annotations
import asyncio import asyncio

View File

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

View File

@ -1,4 +1,5 @@
"""Support for the Rainforest Eagle energy monitor.""" """Support for the Rainforest Eagle energy monitor."""
from __future__ import annotations from __future__ import annotations
from homeassistant.components.sensor import ( from homeassistant.components.sensor import (

View File

@ -1,4 +1,5 @@
"""Integration for Rainforest RAVEn devices.""" """Integration for Rainforest RAVEn devices."""
from __future__ import annotations from __future__ import annotations
from homeassistant.config_entries import ConfigEntry from homeassistant.config_entries import ConfigEntry

View File

@ -1,4 +1,5 @@
"""Config flow for Rainforest RAVEn devices.""" """Config flow for Rainforest RAVEn devices."""
from __future__ import annotations from __future__ import annotations
import asyncio import asyncio

View File

@ -1,4 +1,5 @@
"""Data update coordination for Rainforest RAVEn devices.""" """Data update coordination for Rainforest RAVEn devices."""
from __future__ import annotations from __future__ import annotations
import asyncio import asyncio

View File

@ -1,4 +1,5 @@
"""Diagnostics support for a Rainforest RAVEn device.""" """Diagnostics support for a Rainforest RAVEn device."""
from __future__ import annotations from __future__ import annotations
from collections.abc import Mapping from collections.abc import Mapping

View File

@ -1,4 +1,5 @@
"""Sensor entity for a Rainforest RAVEn device.""" """Sensor entity for a Rainforest RAVEn device."""
from __future__ import annotations from __future__ import annotations
from dataclasses import dataclass from dataclasses import dataclass

View File

@ -1,4 +1,5 @@
"""Support for RainMachine devices.""" """Support for RainMachine devices."""
from __future__ import annotations from __future__ import annotations
from collections.abc import Callable, Coroutine from collections.abc import Callable, Coroutine

View File

@ -1,4 +1,5 @@
"""Binary sensors for key RainMachine data.""" """Binary sensors for key RainMachine data."""
from dataclasses import dataclass from dataclasses import dataclass
from homeassistant.components.binary_sensor import ( from homeassistant.components.binary_sensor import (

View File

@ -1,4 +1,5 @@
"""Buttons for the RainMachine integration.""" """Buttons for the RainMachine integration."""
from __future__ import annotations from __future__ import annotations
from collections.abc import Awaitable, Callable from collections.abc import Awaitable, Callable

View File

@ -1,4 +1,5 @@
"""Config flow to configure the RainMachine component.""" """Config flow to configure the RainMachine component."""
from __future__ import annotations from __future__ import annotations
from typing import Any from typing import Any

View File

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

View File

@ -1,4 +1,5 @@
"""Define RainMachine data models.""" """Define RainMachine data models."""
from dataclasses import dataclass from dataclasses import dataclass
from homeassistant.helpers.entity import EntityDescription from homeassistant.helpers.entity import EntityDescription

View File

@ -1,4 +1,5 @@
"""Support for RainMachine selects.""" """Support for RainMachine selects."""
from __future__ import annotations from __future__ import annotations
from dataclasses import dataclass from dataclasses import dataclass

View File

@ -1,4 +1,5 @@
"""Support for sensor data from RainMachine.""" """Support for sensor data from RainMachine."""
from __future__ import annotations from __future__ import annotations
from dataclasses import dataclass from dataclasses import dataclass

View File

@ -1,4 +1,5 @@
"""Component providing support for RainMachine programs and zones.""" """Component providing support for RainMachine programs and zones."""
from __future__ import annotations from __future__ import annotations
import asyncio import asyncio

View File

@ -1,4 +1,5 @@
"""Support for RainMachine updates.""" """Support for RainMachine updates."""
from __future__ import annotations from __future__ import annotations
from enum import Enum from enum import Enum

View File

@ -1,4 +1,5 @@
"""Define RainMachine utilities.""" """Define RainMachine utilities."""
from __future__ import annotations from __future__ import annotations
from collections.abc import Awaitable, Callable, Iterable from collections.abc import Awaitable, Callable, Iterable

View File

@ -1,4 +1,5 @@
"""The random component.""" """The random component."""
from homeassistant.config_entries import ConfigEntry from homeassistant.config_entries import ConfigEntry
from homeassistant.core import HomeAssistant from homeassistant.core import HomeAssistant

View File

@ -1,4 +1,5 @@
"""Support for showing random states.""" """Support for showing random states."""
from __future__ import annotations from __future__ import annotations
from collections.abc import Mapping from collections.abc import Mapping

View File

@ -1,4 +1,5 @@
"""Config flow for Random helper.""" """Config flow for Random helper."""
from collections.abc import Callable, Coroutine, Mapping from collections.abc import Callable, Coroutine, Mapping
from enum import StrEnum from enum import StrEnum
from typing import Any, cast from typing import Any, cast

View File

@ -1,4 +1,5 @@
"""Support for showing random numbers.""" """Support for showing random numbers."""
from __future__ import annotations from __future__ import annotations
from collections.abc import Mapping from collections.abc import Mapping

View File

@ -1,4 +1,5 @@
"""The rapt_ble integration.""" """The rapt_ble integration."""
from __future__ import annotations from __future__ import annotations
import logging import logging

View File

@ -1,4 +1,5 @@
"""Config flow for rapt_ble.""" """Config flow for rapt_ble."""
from __future__ import annotations from __future__ import annotations
from typing import Any from typing import Any

View File

@ -1,4 +1,5 @@
"""Support for RAPT Pill hydrometers.""" """Support for RAPT Pill hydrometers."""
from __future__ import annotations from __future__ import annotations
from rapt_ble import DeviceClass, DeviceKey, SensorUpdate, Units from rapt_ble import DeviceClass, DeviceKey, SensorUpdate, Units

View File

@ -1,4 +1,5 @@
"""The Raspberry Pi integration.""" """The Raspberry Pi integration."""
from __future__ import annotations from __future__ import annotations
from homeassistant.components.hassio import get_os_info, is_hassio from homeassistant.components.hassio import get_os_info, is_hassio

View File

@ -1,4 +1,5 @@
"""Config flow for the Raspberry Pi integration.""" """Config flow for the Raspberry Pi integration."""
from __future__ import annotations from __future__ import annotations
from typing import Any from typing import Any

View File

@ -1,4 +1,5 @@
"""The Raspberry Pi hardware platform.""" """The Raspberry Pi hardware platform."""
from __future__ import annotations from __future__ import annotations
from homeassistant.components.hardware.models import BoardInfo, HardwareInfo from homeassistant.components.hardware.models import BoardInfo, HardwareInfo

View File

@ -1,4 +1,5 @@
"""Support for switches that can be controlled using the RaspyRFM rc module.""" """Support for switches that can be controlled using the RaspyRFM rc module."""
from __future__ import annotations from __future__ import annotations
from raspyrfm_client import RaspyRFMClient from raspyrfm_client import RaspyRFMClient

View File

@ -1,4 +1,5 @@
"""Support for RDW.""" """Support for RDW."""
from __future__ import annotations from __future__ import annotations
from vehicle import RDW, Vehicle from vehicle import RDW, Vehicle

View File

@ -1,4 +1,5 @@
"""Support for RDW binary sensors.""" """Support for RDW binary sensors."""
from __future__ import annotations from __future__ import annotations
from collections.abc import Callable from collections.abc import Callable

View File

@ -1,4 +1,5 @@
"""Config flow to configure the RDW integration.""" """Config flow to configure the RDW integration."""
from __future__ import annotations from __future__ import annotations
from typing import Any from typing import Any

View File

@ -1,4 +1,5 @@
"""Constants for the RDW integration.""" """Constants for the RDW integration."""
from __future__ import annotations from __future__ import annotations
from datetime import timedelta from datetime import timedelta

View File

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

View File

@ -1,4 +1,5 @@
"""Support for RDW sensors.""" """Support for RDW sensors."""
from __future__ import annotations from __future__ import annotations
from collections.abc import Callable from collections.abc import Callable

View File

@ -1,4 +1,5 @@
"""The ReCollect Waste integration.""" """The ReCollect Waste integration."""
from __future__ import annotations from __future__ import annotations
from datetime import date, timedelta from datetime import date, timedelta

View File

@ -1,4 +1,5 @@
"""Support for ReCollect Waste calendars.""" """Support for ReCollect Waste calendars."""
from __future__ import annotations from __future__ import annotations
import datetime import datetime

View File

@ -1,4 +1,5 @@
"""Config flow for ReCollect Waste integration.""" """Config flow for ReCollect Waste integration."""
from __future__ import annotations from __future__ import annotations
from typing import Any from typing import Any

View File

@ -1,4 +1,5 @@
"""Diagnostics support for ReCollect Waste.""" """Diagnostics support for ReCollect Waste."""
from __future__ import annotations from __future__ import annotations
import dataclasses import dataclasses

View File

@ -1,4 +1,5 @@
"""Define a base ReCollect Waste entity.""" """Define a base ReCollect Waste entity."""
from aiorecollect.client import PickupEvent from aiorecollect.client import PickupEvent
from homeassistant.config_entries import ConfigEntry from homeassistant.config_entries import ConfigEntry

View File

@ -1,4 +1,5 @@
"""Support for ReCollect Waste sensors.""" """Support for ReCollect Waste sensors."""
from __future__ import annotations from __future__ import annotations
from datetime import date from datetime import date

View File

@ -1,4 +1,5 @@
"""Define ReCollect Waste utilities.""" """Define ReCollect Waste utilities."""
from aiorecollect.client import PickupType from aiorecollect.client import PickupType
from homeassistant.config_entries import ConfigEntry from homeassistant.config_entries import ConfigEntry

View File

@ -1,4 +1,5 @@
"""Support for recording details.""" """Support for recording details."""
from __future__ import annotations from __future__ import annotations
import logging import logging

View File

@ -1,4 +1,5 @@
"""Events schema repairs.""" """Events schema repairs."""
from __future__ import annotations from __future__ import annotations
from typing import TYPE_CHECKING from typing import TYPE_CHECKING

View File

@ -1,4 +1,5 @@
"""Schema repairs.""" """Schema repairs."""
from __future__ import annotations from __future__ import annotations
from collections.abc import Iterable, Mapping from collections.abc import Iterable, Mapping

View File

@ -1,4 +1,5 @@
"""States schema repairs.""" """States schema repairs."""
from __future__ import annotations from __future__ import annotations
from typing import TYPE_CHECKING from typing import TYPE_CHECKING

View File

@ -1,4 +1,5 @@
"""Statistics duplication repairs.""" """Statistics duplication repairs."""
from __future__ import annotations from __future__ import annotations
import json import json

View File

@ -1,4 +1,5 @@
"""Statistics schema repairs.""" """Statistics schema repairs."""
from __future__ import annotations from __future__ import annotations
import logging import logging

View File

@ -1,4 +1,5 @@
"""Backup platform for the Recorder integration.""" """Backup platform for the Recorder integration."""
from logging import getLogger from logging import getLogger
from homeassistant.core import HomeAssistant from homeassistant.core import HomeAssistant

View File

@ -1,4 +1,5 @@
"""Support for recording details.""" """Support for recording details."""
from __future__ import annotations from __future__ import annotations
import asyncio import asyncio

View File

@ -1,4 +1,5 @@
"""Models for SQLAlchemy.""" """Models for SQLAlchemy."""
from __future__ import annotations from __future__ import annotations
from collections.abc import Callable from collections.abc import Callable

View File

@ -1,4 +1,5 @@
"""Database executor helpers.""" """Database executor helpers."""
from __future__ import annotations from __future__ import annotations
from collections.abc import Callable from collections.abc import Callable

View File

@ -1,4 +1,5 @@
"""Provide pre-made queries on top of the recorder component.""" """Provide pre-made queries on top of the recorder component."""
from __future__ import annotations from __future__ import annotations
from collections.abc import Callable, Collection, Iterable from collections.abc import Callable, Collection, Iterable

View File

@ -1,4 +1,5 @@
"""Provide pre-made queries on top of the recorder component.""" """Provide pre-made queries on top of the recorder component."""
from __future__ import annotations from __future__ import annotations
from collections.abc import MutableMapping from collections.abc import MutableMapping

View File

@ -1,4 +1,5 @@
"""Common functions for history.""" """Common functions for history."""
from __future__ import annotations from __future__ import annotations
from homeassistant.core import HomeAssistant from homeassistant.core import HomeAssistant

View File

@ -1,4 +1,5 @@
"""Provide pre-made queries on top of the recorder component.""" """Provide pre-made queries on top of the recorder component."""
from __future__ import annotations from __future__ import annotations
from collections import defaultdict from collections import defaultdict

View File

@ -1,4 +1,5 @@
"""Provide pre-made queries on top of the recorder component.""" """Provide pre-made queries on top of the recorder component."""
from __future__ import annotations from __future__ import annotations
from collections.abc import Callable, Iterable, Iterator, MutableMapping from collections.abc import Callable, Iterable, Iterator, MutableMapping

View File

@ -1,4 +1,5 @@
"""Schema migration helpers.""" """Schema migration helpers."""
from __future__ import annotations from __future__ import annotations
from collections.abc import Callable, Iterable from collections.abc import Callable, Iterable

View File

@ -1,4 +1,5 @@
"""Models for Recorder.""" """Models for Recorder."""
from __future__ import annotations from __future__ import annotations
from .context import ( from .context import (

View File

@ -1,4 +1,5 @@
"""Models for Recorder.""" """Models for Recorder."""
from __future__ import annotations from __future__ import annotations
from contextlib import suppress from contextlib import suppress

View File

@ -1,4 +1,5 @@
"""Models for the database in the Recorder.""" """Models for the database in the Recorder."""
from __future__ import annotations from __future__ import annotations
from dataclasses import dataclass from dataclasses import dataclass

View File

@ -1,4 +1,5 @@
"""Models events in for Recorder.""" """Models events in for Recorder."""
from __future__ import annotations from __future__ import annotations

Some files were not shown because too many files have changed in this diff Show More