Add empty line after module docstring [helpers + other] (#112707)

This commit is contained in:
Marc Mueller
2024-03-08 16:36:11 +01:00
committed by GitHub
parent c773d57d39
commit 19ab3d6daf
284 changed files with 287 additions and 0 deletions

View File

@@ -1,4 +1,5 @@
"""Constants for scaffolding."""
from pathlib import Path
COMPONENT_DIR = Path("homeassistant/components")

View File

@@ -1,4 +1,5 @@
"""Print links to relevant docs."""
from .model import Info
DATA = {

View File

@@ -1,4 +1,5 @@
"""Generate an integration."""
from pathlib import Path
from .model import Info

View File

@@ -1,4 +1,5 @@
"""Models for scaffolding."""
from __future__ import annotations
import json

View File

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

View File

@@ -1,4 +1,5 @@
"""Test the NEW_NAME backup platform."""
from homeassistant.components.NEW_DOMAIN.backup import (
async_post_backup,
async_pre_backup,

View File

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

View File

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

View File

@@ -1,4 +1,5 @@
"""Common fixtures for the NEW_NAME tests."""
from collections.abc import Generator
from unittest.mock import AsyncMock, patch

View File

@@ -1,4 +1,5 @@
"""Test the NEW_NAME config flow."""
from unittest.mock import AsyncMock, patch
from homeassistant import config_entries

View File

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

View File

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

View File

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

View File

@@ -1,4 +1,5 @@
"""Sensor platform for NEW_NAME integration."""
from __future__ import annotations
from homeassistant.components.sensor import SensorEntity

View File

@@ -1,4 +1,5 @@
"""Common fixtures for the NEW_NAME tests."""
from collections.abc import Generator
from unittest.mock import AsyncMock, patch

View File

@@ -1,4 +1,5 @@
"""Test the NEW_NAME config flow."""
from unittest.mock import AsyncMock
import pytest

View File

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

View File

@@ -1,4 +1,5 @@
"""API for NEW_NAME bound to Home Assistant OAuth."""
from asyncio import run_coroutine_threadsafe
from aiohttp import ClientSession

View File

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

View File

@@ -1,4 +1,5 @@
"""Provide the device conditions for NEW_NAME."""
from __future__ import annotations
import voluptuous as vol

View File

@@ -1,4 +1,5 @@
"""The tests for NEW_NAME device conditions."""
from __future__ import annotations
import pytest

View File

@@ -1,4 +1,5 @@
"""Provides device triggers for NEW_NAME."""
from __future__ import annotations
from typing import Any

View File

@@ -1,4 +1,5 @@
"""The NEW_NAME integration."""
from __future__ import annotations
import voluptuous as vol

View File

@@ -1,4 +1,5 @@
"""Reproduce an NEW_NAME state."""
from __future__ import annotations
import asyncio

View File

@@ -1,4 +1,5 @@
"""Helper to test significant NEW_NAME state changes."""
from __future__ import annotations
from typing import Any

View File

@@ -1,4 +1,5 @@
"""Test the NEW_NAME significant change platform."""
from homeassistant.components.NEW_DOMAIN.significant_change import (
async_check_significant_change,
)