Add more type hints to conftest.py (#87842)

* Add more type hints in conftest.py

* Adjust stop_hass

* Adjust mock_integration_frame

* Adjust pylint plugin
This commit is contained in:
epenet
2023-02-11 13:48:53 +01:00
committed by GitHub
parent 6d87ebc7de
commit b7b82b1e3f
6 changed files with 64 additions and 31 deletions

View File

@@ -23,7 +23,7 @@ BAD_CORE_CONFIG = "homeassistant:\n unit_system: bad\n\n\n"
@pytest.fixture(autouse=True)
async def apply_stop_hass(stop_hass):
async def apply_stop_hass(stop_hass: None) -> None:
"""Make sure all hass are stopped."""