Add type hints to integration tests (part 2) (#87789)

* Add type hints to integration tests (part 2)

* typo

* Improve analytics

* Improve automation

* Imrpove bluetooth
This commit is contained in:
epenet 2023-02-10 16:05:26 +01:00 committed by GitHub
parent fa7acb4f0d
commit 0cf5e9fb4a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
54 changed files with 1075 additions and 676 deletions

View file

@ -14,7 +14,7 @@ LOGGER = logging.getLogger(__name__)
@pytest.mark.parametrize("domain", DOMAINS)
def test_default_blueprints(domain: str):
def test_default_blueprints(domain: str) -> None:
"""Validate a folder of blueprints."""
integration = importlib.import_module(f"homeassistant.components.{domain}")
blueprint_folder = pathlib.Path(integration.__file__).parent / BLUEPRINT_FOLDER