Add empty line after module docstring [n-q] (#112702)

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

View file

@ -1,4 +1,5 @@
"""Support for interfacing with NAD receivers through RS-232.""" """Support for interfacing with NAD receivers through RS-232."""
from __future__ import annotations from __future__ import annotations
from nad_receiver import NADReceiver, NADReceiverTCP, NADReceiverTelnet from nad_receiver import NADReceiver, NADReceiverTCP, NADReceiverTelnet

View file

@ -1,4 +1,5 @@
"""The Nettigo Air Monitor component.""" """The Nettigo Air Monitor component."""
from __future__ import annotations from __future__ import annotations
import asyncio import asyncio

View file

@ -1,4 +1,5 @@
"""Support for the Nettigo Air Monitor service.""" """Support for the Nettigo Air Monitor service."""
from __future__ import annotations from __future__ import annotations
import logging import logging

View file

@ -1,4 +1,5 @@
"""Adds config flow for Nettigo Air Monitor.""" """Adds config flow for Nettigo Air Monitor."""
from __future__ import annotations from __future__ import annotations
import asyncio import asyncio

View file

@ -1,4 +1,5 @@
"""Constants for Nettigo Air Monitor integration.""" """Constants for Nettigo Air Monitor 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 NAM.""" """Diagnostics support for NAM."""
from __future__ import annotations from __future__ import annotations
from dataclasses import asdict from dataclasses import asdict

View file

@ -1,4 +1,5 @@
"""Support for the Nettigo Air Monitor service.""" """Support for the Nettigo Air Monitor service."""
from __future__ import annotations from __future__ import annotations
from collections.abc import Callable from collections.abc import Callable

View file

@ -1,4 +1,5 @@
"""Support for namecheap DNS services.""" """Support for namecheap DNS services."""
from datetime import timedelta from datetime import timedelta
import logging import logging

View file

@ -1,4 +1,5 @@
"""The Nanoleaf integration.""" """The Nanoleaf integration."""
from __future__ import annotations from __future__ import annotations
import asyncio import asyncio

View file

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

View file

@ -1,4 +1,5 @@
"""Provides device triggers for Nanoleaf.""" """Provides device triggers for Nanoleaf."""
from __future__ import annotations from __future__ import annotations
import voluptuous as vol import voluptuous as vol

View file

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

View file

@ -1,4 +1,5 @@
"""Support for Nanoleaf Lights.""" """Support for Nanoleaf Lights."""
from __future__ import annotations from __future__ import annotations
import math import math

View file

@ -1,4 +1,5 @@
"""API for Neato Botvac bound to Home Assistant OAuth.""" """API for Neato Botvac bound to Home Assistant OAuth."""
from __future__ import annotations from __future__ import annotations
from asyncio import run_coroutine_threadsafe from asyncio import run_coroutine_threadsafe

View file

@ -1,4 +1,5 @@
"""Support for Neato buttons.""" """Support for Neato buttons."""
from __future__ import annotations from __future__ import annotations
from pybotvac import Robot from pybotvac import Robot

View file

@ -1,4 +1,5 @@
"""Support for loading picture from Neato.""" """Support for loading picture from Neato."""
from __future__ import annotations from __future__ import annotations
from datetime import timedelta from datetime import timedelta

View file

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

View file

@ -1,4 +1,5 @@
"""Base entity for Neato.""" """Base entity for Neato."""
from __future__ import annotations from __future__ import annotations
from pybotvac import Robot from pybotvac import Robot

View file

@ -1,4 +1,5 @@
"""Support for Neato botvac connected vacuum cleaners.""" """Support for Neato botvac connected vacuum cleaners."""
from datetime import timedelta from datetime import timedelta
import logging import logging

View file

@ -1,4 +1,5 @@
"""Support for Neato sensors.""" """Support for Neato sensors."""
from __future__ import annotations from __future__ import annotations
from datetime import timedelta from datetime import timedelta

View file

@ -1,4 +1,5 @@
"""Support for Neato Connected Vacuums switches.""" """Support for Neato Connected Vacuums switches."""
from __future__ import annotations from __future__ import annotations
from datetime import timedelta from datetime import timedelta

View file

@ -1,4 +1,5 @@
"""Support for Neato Connected Vacuums.""" """Support for Neato Connected Vacuums."""
from __future__ import annotations from __future__ import annotations
from datetime import timedelta from datetime import timedelta

View file

@ -1,4 +1,5 @@
"""Support for Nederlandse Spoorwegen public transport.""" """Support for Nederlandse Spoorwegen public transport."""
from __future__ import annotations from __future__ import annotations
from datetime import datetime, timedelta from datetime import datetime, timedelta

View file

@ -1,4 +1,5 @@
"""Support for Ness D8X/D16X devices.""" """Support for Ness D8X/D16X devices."""
from collections import namedtuple from collections import namedtuple
import datetime import datetime
import logging import logging

View file

@ -1,4 +1,5 @@
"""Support for Ness D8X/D16X alarm panel.""" """Support for Ness D8X/D16X alarm panel."""
from __future__ import annotations from __future__ import annotations
import logging import logging

View file

@ -1,4 +1,5 @@
"""Support for Ness D8X/D16X zone states - represented as binary sensors.""" """Support for Ness D8X/D16X zone states - represented as binary sensors."""
from __future__ import annotations from __future__ import annotations
from homeassistant.components.binary_sensor import BinarySensorEntity from homeassistant.components.binary_sensor import BinarySensorEntity

View file

@ -1,4 +1,5 @@
"""Support for Nest devices.""" """Support for Nest devices."""
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 Google Nest SDM Cameras.""" """Support for Google Nest SDM Cameras."""
from __future__ import annotations from __future__ import annotations
import asyncio import asyncio

View file

@ -1,4 +1,5 @@
"""Support for Google Nest SDM climate devices.""" """Support for Google Nest SDM climate devices."""
from __future__ import annotations from __future__ import annotations
from typing import Any, cast from typing import Any, cast

View file

@ -7,6 +7,7 @@ This configuration flow supports the following:
NestFlowHandler is an implementation of AbstractOAuth2FlowHandler with NestFlowHandler is an implementation of AbstractOAuth2FlowHandler with
some overrides to custom steps inserted in the middle of the flow. some overrides to custom steps inserted in the middle of the flow.
""" """
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 @@
"""Provides device automations for Nest.""" """Provides device automations for Nest."""
from __future__ import annotations from __future__ import annotations
import voluptuous as vol import voluptuous as vol

View file

@ -1,4 +1,5 @@
"""Support for Google Nest SDM sensors.""" """Support for Google Nest SDM sensors."""
from __future__ import annotations from __future__ import annotations
import logging import logging

View file

@ -1,4 +1,5 @@
"""The Netatmo integration.""" """The Netatmo integration."""
from __future__ import annotations from __future__ import annotations
from http import HTTPStatus from http import HTTPStatus

View file

@ -1,4 +1,5 @@
"""API for Netatmo bound to HASS OAuth.""" """API for Netatmo bound to HASS OAuth."""
from collections.abc import Iterable from collections.abc import Iterable
from typing import cast from typing import cast

View file

@ -1,4 +1,5 @@
"""Support for the Netatmo cameras.""" """Support for the Netatmo cameras."""
from __future__ import annotations from __future__ import annotations
import logging import logging

View file

@ -1,4 +1,5 @@
"""Support for Netatmo Smart thermostats.""" """Support for Netatmo Smart thermostats."""
from __future__ import annotations from __future__ import annotations
import logging import logging

View file

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

View file

@ -1,4 +1,5 @@
"""Constants used by the Netatmo component.""" """Constants used by the Netatmo component."""
from homeassistant.const import Platform from homeassistant.const import Platform
API = "api" API = "api"

View file

@ -1,4 +1,5 @@
"""Support for Netatmo/Bubendorff covers.""" """Support for Netatmo/Bubendorff covers."""
from __future__ import annotations from __future__ import annotations
import logging import logging

View file

@ -1,4 +1,5 @@
"""The Netatmo data handler.""" """The Netatmo data handler."""
from __future__ import annotations from __future__ import annotations
from collections import deque from collections import deque

View file

@ -1,4 +1,5 @@
"""Provides device automations for Netatmo.""" """Provides device automations for Netatmo."""
from __future__ import annotations from __future__ import annotations
import voluptuous as vol import voluptuous as vol

View file

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

View file

@ -1,4 +1,5 @@
"""Base class for Netatmo entities.""" """Base class for Netatmo entities."""
from __future__ import annotations from __future__ import annotations
from typing import Any from typing import Any

View file

@ -1,4 +1,5 @@
"""Support for Netatmo/Bubendorff fans.""" """Support for Netatmo/Bubendorff fans."""
from __future__ import annotations from __future__ import annotations
import logging import logging

View file

@ -1,4 +1,5 @@
"""Helper for Netatmo integration.""" """Helper for Netatmo integration."""
from __future__ import annotations from __future__ import annotations
from dataclasses import dataclass from dataclasses import dataclass

View file

@ -1,4 +1,5 @@
"""Support for the Netatmo camera lights.""" """Support for the Netatmo camera lights."""
from __future__ import annotations from __future__ import annotations
import logging import logging

View file

@ -1,4 +1,5 @@
"""Netatmo Media Source Implementation.""" """Netatmo Media Source Implementation."""
from __future__ import annotations from __future__ import annotations
import datetime as dt import datetime as dt

View file

@ -1,4 +1,5 @@
"""Support for the Netatmo climate schedule selector.""" """Support for the Netatmo climate schedule selector."""
from __future__ import annotations from __future__ import annotations
import logging import logging

View file

@ -1,4 +1,5 @@
"""Support for the Netatmo sensors.""" """Support for the Netatmo sensors."""
from __future__ import annotations from __future__ import annotations
from dataclasses import dataclass from dataclasses import dataclass

View file

@ -1,4 +1,5 @@
"""Support for Netatmo/BTicino/Legrande switches.""" """Support for Netatmo/BTicino/Legrande switches."""
from __future__ import annotations from __future__ import annotations
import logging import logging

View file

@ -1,4 +1,5 @@
"""Support gathering system information of hosts which are running netdata.""" """Support gathering system information of hosts which are running netdata."""
from __future__ import annotations from __future__ import annotations
import logging import logging

View file

@ -1,4 +1,5 @@
"""Support for Netgear routers.""" """Support for Netgear routers."""
from __future__ import annotations from __future__ import annotations
from datetime import timedelta from datetime import timedelta

View file

@ -1,4 +1,5 @@
"""Support for Netgear Button.""" """Support for Netgear Button."""
from collections.abc import Callable, Coroutine from collections.abc import Callable, Coroutine
from dataclasses import dataclass from dataclasses import dataclass
from typing import Any from typing import Any

View file

@ -1,4 +1,5 @@
"""Config flow to configure the Netgear integration.""" """Config flow to configure the Netgear integration."""
from __future__ import annotations from __future__ import annotations
import logging import logging

View file

@ -1,4 +1,5 @@
"""Netgear component constants.""" """Netgear component constants."""
from datetime import timedelta from datetime import timedelta
from homeassistant.const import Platform from homeassistant.const import Platform

View file

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

View file

@ -1,4 +1,5 @@
"""Represent the Netgear router and its devices.""" """Represent the Netgear router and its devices."""
from __future__ import annotations from __future__ import annotations
from abc import abstractmethod from abc import abstractmethod

View file

@ -1,4 +1,5 @@
"""Errors for the Netgear component.""" """Errors for the Netgear component."""
from homeassistant.exceptions import HomeAssistantError from homeassistant.exceptions import HomeAssistantError

View file

@ -1,4 +1,5 @@
"""Represent the Netgear router and its devices.""" """Represent the Netgear router and its devices."""
from __future__ import annotations from __future__ import annotations
import asyncio import asyncio

View file

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

View file

@ -1,4 +1,5 @@
"""Support for Netgear switches.""" """Support for Netgear switches."""
from collections.abc import Callable from collections.abc import Callable
from dataclasses import dataclass from dataclasses import dataclass
from datetime import timedelta from datetime import timedelta

View file

@ -1,4 +1,5 @@
"""Update entities for Netgear devices.""" """Update entities for Netgear devices."""
from __future__ import annotations from __future__ import annotations
import logging import logging

View file

@ -1,4 +1,5 @@
"""Support for Netgear LTE modems.""" """Support for Netgear LTE modems."""
from datetime import timedelta from datetime import timedelta
from aiohttp.cookiejar import CookieJar from aiohttp.cookiejar import CookieJar

View file

@ -1,4 +1,5 @@
"""Support for Netgear LTE binary sensors.""" """Support for Netgear LTE binary sensors."""
from __future__ import annotations from __future__ import annotations
from homeassistant.components.binary_sensor import ( from homeassistant.components.binary_sensor import (

View file

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

View file

@ -1,4 +1,5 @@
"""Support for Netgear LTE notifications.""" """Support for Netgear LTE notifications."""
from __future__ import annotations from __future__ import annotations
import attr import attr

View file

@ -1,4 +1,5 @@
"""Support for Netgear LTE sensors.""" """Support for Netgear LTE 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 @@
"""Services for the Netgear LTE integration.""" """Services for the Netgear LTE integration."""
from typing import TYPE_CHECKING from typing import TYPE_CHECKING
import voluptuous as vol import voluptuous as vol

View file

@ -1,4 +1,5 @@
"""The Netio switch component.""" """The Netio switch component."""
from __future__ import annotations from __future__ import annotations
from collections import namedtuple from collections import namedtuple

View file

@ -1,4 +1,5 @@
"""The Network Configuration integration.""" """The Network Configuration integration."""
from __future__ import annotations from __future__ import annotations
from ipaddress import IPv4Address, IPv6Address, ip_interface from ipaddress import IPv4Address, IPv6Address, ip_interface

View file

@ -1,4 +1,5 @@
"""Constants for the network integration.""" """Constants for the network integration."""
from __future__ import annotations from __future__ import annotations
from typing import Final from typing import Final

View file

@ -1,4 +1,5 @@
"""Models helper class for the network integration.""" """Models helper class for the network integration."""
from __future__ import annotations from __future__ import annotations
from typing import TypedDict from typing import TypedDict

View file

@ -1,4 +1,5 @@
"""Network helper class for the network integration.""" """Network helper class for the network integration."""
from __future__ import annotations from __future__ import annotations
import logging import logging

View file

@ -1,4 +1,5 @@
"""Network helper class for the network integration.""" """Network helper class for the network integration."""
from __future__ import annotations from __future__ import annotations
from ipaddress import IPv4Address, IPv6Address, ip_address from ipaddress import IPv4Address, IPv6Address, ip_address

View file

@ -1,4 +1,5 @@
"""The Network Configuration integration websocket commands.""" """The Network Configuration integration websocket commands."""
from __future__ import annotations from __future__ import annotations
from typing import Any from typing import Any

View file

@ -1,4 +1,5 @@
"""Support for monitoring a Neurio energy sensor.""" """Support for monitoring a Neurio energy sensor."""
from __future__ import annotations from __future__ import annotations
from datetime import timedelta from datetime import timedelta

View file

@ -1,4 +1,5 @@
"""Support for Nexia / Trane XL Thermostats.""" """Support for Nexia / Trane XL Thermostats."""
from homeassistant.components.binary_sensor import BinarySensorEntity from homeassistant.components.binary_sensor import BinarySensorEntity
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 Nexia / Trane XL thermostats.""" """Support for Nexia / Trane XL thermostats."""
from __future__ import annotations from __future__ import annotations
from typing import Any from typing import Any

View file

@ -1,4 +1,5 @@
"""Nexia constants.""" """Nexia constants."""
from homeassistant.const import Platform from homeassistant.const import Platform
PLATFORMS = [ PLATFORMS = [

View file

@ -1,4 +1,5 @@
"""Component to embed nexia devices.""" """Component to embed nexia devices."""
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 nexia.""" """Diagnostics support for nexia."""
from __future__ import annotations from __future__ import annotations
from typing import Any from typing import Any

View file

@ -1,4 +1,5 @@
"""Support for Nexia / Trane XL Thermostats.""" """Support for Nexia / Trane XL Thermostats."""
from __future__ import annotations from __future__ import annotations
from nexia.home import NexiaHome from nexia.home import NexiaHome

View file

@ -1,4 +1,5 @@
"""Support for Nexia Automations.""" """Support for Nexia Automations."""
from typing import Any from typing import Any
from nexia.automation import NexiaAutomation from nexia.automation import NexiaAutomation

View file

@ -1,4 +1,5 @@
"""Support for Nexia / Trane XL Thermostats.""" """Support for Nexia / Trane XL Thermostats."""
from __future__ import annotations from __future__ import annotations
from nexia.const import UNIT_CELSIUS from nexia.const import UNIT_CELSIUS

View file

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

View file

@ -1,4 +1,5 @@
"""Config flow to configure the Nextbus integration.""" """Config flow to configure the Nextbus integration."""
from collections import Counter from collections import Counter
import logging import logging

View file

@ -1,4 +1,5 @@
"""NextBus data update coordinator.""" """NextBus data update coordinator."""
from datetime import timedelta from datetime import timedelta
import logging import logging
from typing import Any, cast from typing import Any, cast

View file

@ -1,4 +1,5 @@
"""NextBus sensor.""" """NextBus sensor."""
from __future__ import annotations from __future__ import annotations
from itertools import chain from itertools import chain

View file

@ -1,4 +1,5 @@
"""Utils for NextBus integration module.""" """Utils for NextBus integration module."""
from typing import Any from typing import Any

View file

@ -1,4 +1,5 @@
"""Summary binary data from Nextcoud.""" """Summary binary data from Nextcoud."""
from __future__ import annotations from __future__ import annotations
from typing import Final from typing import Final

View file

@ -1,4 +1,5 @@
"""Config flow to configure the Nextcloud integration.""" """Config flow to configure the Nextcloud integration."""
from __future__ import annotations from __future__ import annotations
from collections.abc import Mapping from collections.abc import Mapping

View file

@ -1,4 +1,5 @@
"""Constants for Nextcloud integration.""" """Constants for Nextcloud integration."""
from datetime import timedelta from datetime import timedelta
DOMAIN = "nextcloud" DOMAIN = "nextcloud"

View file

@ -1,4 +1,5 @@
"""Base entity for the Nextcloud integration.""" """Base entity for the Nextcloud integration."""
from urllib.parse import urlparse from urllib.parse import urlparse
from homeassistant.config_entries import ConfigEntry from homeassistant.config_entries import ConfigEntry

View file

@ -1,4 +1,5 @@
"""Summary data from Nextcoud.""" """Summary data from Nextcoud."""
from __future__ import annotations from __future__ import annotations
from collections.abc import Callable from collections.abc import Callable

View file

@ -1,4 +1,5 @@
"""Update data from Nextcoud.""" """Update data from Nextcoud."""
from __future__ import annotations from __future__ import annotations
from homeassistant.components.update import UpdateEntity, UpdateEntityDescription from homeassistant.components.update import UpdateEntity, UpdateEntityDescription

View file

@ -1,4 +1,5 @@
"""The NextDNS component.""" """The NextDNS component."""
from __future__ import annotations from __future__ import annotations
import asyncio import asyncio

View file

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

View file

@ -1,4 +1,5 @@
"""Support for the NextDNS service.""" """Support for the NextDNS service."""
from __future__ import annotations from __future__ import annotations
from homeassistant.components.button import ButtonEntity, ButtonEntityDescription from homeassistant.components.button import ButtonEntity, ButtonEntityDescription

View file

@ -1,4 +1,5 @@
"""Adds config flow for NextDNS.""" """Adds config flow for NextDNS."""
from __future__ import annotations from __future__ import annotations
import asyncio import asyncio

View file

@ -1,4 +1,5 @@
"""Constants for NextDNS integration.""" """Constants for NextDNS integration."""
from datetime import timedelta from datetime import timedelta
ATTR_CONNECTION = "connection" ATTR_CONNECTION = "connection"

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