1
0
mirror of https://github.com/home-assistant/core.git synced 2025-12-20 10:59:24 +00:00

Update typing 16 (#48087)

This commit is contained in:
Marc Mueller
2021-03-18 22:58:19 +01:00
committed by GitHub
parent 0f5efca76b
commit 4cb7718192
59 changed files with 180 additions and 166 deletions

View File

@@ -1,6 +1,7 @@
"""Validate coverage files."""
from __future__ import annotations
from pathlib import Path
from typing import Dict
from .model import Config, Integration
@@ -69,7 +70,7 @@ ALLOWED_IGNORE_VIOLATIONS = {
}
def validate(integrations: Dict[str, Integration], config: Config):
def validate(integrations: dict[str, Integration], config: Config):
"""Validate coverage."""
coverage_path = config.root / ".coveragerc"