mirror of
https://github.com/home-assistant/core.git
synced 2025-08-01 03:35:09 +02:00
Add empty line after module docstring [helpers + other] (#112707)
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
"""Constants for scaffolding."""
|
||||
|
||||
from pathlib import Path
|
||||
|
||||
COMPONENT_DIR = Path("homeassistant/components")
|
||||
|
@@ -1,4 +1,5 @@
|
||||
"""Print links to relevant docs."""
|
||||
|
||||
from .model import Info
|
||||
|
||||
DATA = {
|
||||
|
@@ -1,4 +1,5 @@
|
||||
"""Generate an integration."""
|
||||
|
||||
from pathlib import Path
|
||||
|
||||
from .model import Info
|
||||
|
@@ -1,4 +1,5 @@
|
||||
"""Models for scaffolding."""
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import json
|
||||
|
@@ -1,4 +1,5 @@
|
||||
"""Backup platform for the NEW_NAME integration."""
|
||||
|
||||
from homeassistant.core import HomeAssistant
|
||||
|
||||
|
||||
|
@@ -1,4 +1,5 @@
|
||||
"""Test the NEW_NAME backup platform."""
|
||||
|
||||
from homeassistant.components.NEW_DOMAIN.backup import (
|
||||
async_post_backup,
|
||||
async_pre_backup,
|
||||
|
@@ -1,4 +1,5 @@
|
||||
"""The NEW_NAME integration."""
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
from homeassistant.config_entries import ConfigEntry
|
||||
|
@@ -1,4 +1,5 @@
|
||||
"""Config flow for NEW_NAME integration."""
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import logging
|
||||
|
@@ -1,4 +1,5 @@
|
||||
"""Common fixtures for the NEW_NAME tests."""
|
||||
|
||||
from collections.abc import Generator
|
||||
from unittest.mock import AsyncMock, patch
|
||||
|
||||
|
@@ -1,4 +1,5 @@
|
||||
"""Test the NEW_NAME config flow."""
|
||||
|
||||
from unittest.mock import AsyncMock, patch
|
||||
|
||||
from homeassistant import config_entries
|
||||
|
@@ -1,4 +1,5 @@
|
||||
"""The NEW_NAME integration."""
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
from homeassistant.config_entries import ConfigEntry
|
||||
|
@@ -1,4 +1,5 @@
|
||||
"""The NEW_NAME integration."""
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
from homeassistant.config_entries import ConfigEntry
|
||||
|
@@ -1,4 +1,5 @@
|
||||
"""Config flow for NEW_NAME integration."""
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
from collections.abc import Mapping
|
||||
|
@@ -1,4 +1,5 @@
|
||||
"""Sensor platform for NEW_NAME integration."""
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
from homeassistant.components.sensor import SensorEntity
|
||||
|
@@ -1,4 +1,5 @@
|
||||
"""Common fixtures for the NEW_NAME tests."""
|
||||
|
||||
from collections.abc import Generator
|
||||
from unittest.mock import AsyncMock, patch
|
||||
|
||||
|
@@ -1,4 +1,5 @@
|
||||
"""Test the NEW_NAME config flow."""
|
||||
|
||||
from unittest.mock import AsyncMock
|
||||
|
||||
import pytest
|
||||
|
@@ -1,4 +1,5 @@
|
||||
"""The NEW_NAME integration."""
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
from homeassistant.config_entries import ConfigEntry
|
||||
|
@@ -1,4 +1,5 @@
|
||||
"""API for NEW_NAME bound to Home Assistant OAuth."""
|
||||
|
||||
from asyncio import run_coroutine_threadsafe
|
||||
|
||||
from aiohttp import ClientSession
|
||||
|
@@ -1,4 +1,5 @@
|
||||
"""Provides device actions for NEW_NAME."""
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import voluptuous as vol
|
||||
|
@@ -1,4 +1,5 @@
|
||||
"""Provide the device conditions for NEW_NAME."""
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import voluptuous as vol
|
||||
|
@@ -1,4 +1,5 @@
|
||||
"""The tests for NEW_NAME device conditions."""
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import pytest
|
||||
|
@@ -1,4 +1,5 @@
|
||||
"""Provides device triggers for NEW_NAME."""
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
from typing import Any
|
||||
|
@@ -1,4 +1,5 @@
|
||||
"""The NEW_NAME integration."""
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import voluptuous as vol
|
||||
|
@@ -1,4 +1,5 @@
|
||||
"""Reproduce an NEW_NAME state."""
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import asyncio
|
||||
|
@@ -1,4 +1,5 @@
|
||||
"""Helper to test significant NEW_NAME state changes."""
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
from typing import Any
|
||||
|
@@ -1,4 +1,5 @@
|
||||
"""Test the NEW_NAME significant change platform."""
|
||||
|
||||
from homeassistant.components.NEW_DOMAIN.significant_change import (
|
||||
async_check_significant_change,
|
||||
)
|
||||
|
Reference in New Issue
Block a user