Improve type hints in tests (a-h) (#118379)

This commit is contained in:
epenet
2024-05-30 08:46:18 +02:00
committed by GitHub
parent 4893faa671
commit 092cdcfe91
13 changed files with 66 additions and 34 deletions

View File

@@ -1,6 +1,7 @@
"""The tests for the counter component."""
import logging
from typing import Any
import pytest
@@ -37,7 +38,7 @@ _LOGGER = logging.getLogger(__name__)
@pytest.fixture
def storage_setup(hass, hass_storage):
def storage_setup(hass: HomeAssistant, hass_storage: dict[str, Any]):
"""Storage setup."""
async def _storage(items=None, config=None):