Activate mypy for Pilight (#53956)

This commit is contained in:
Milan Meulemans 2021-08-10 10:47:17 +02:00 committed by GitHub
parent 020759d01d
commit 7e2c6ae332
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 1 additions and 5 deletions

View File

@ -136,7 +136,7 @@ class CallRateDelayThrottle:
def __init__(self, hass, delay_seconds: float) -> None:
"""Initialize the delay handler."""
self._delay = timedelta(seconds=max(0.0, delay_seconds))
self._queue = []
self._queue: list = []
self._active = False
self._lock = threading.Lock()
self._next_ts = dt_util.utcnow()

View File

@ -1574,9 +1574,6 @@ ignore_errors = true
[mypy-homeassistant.components.philips_js.*]
ignore_errors = true
[mypy-homeassistant.components.pilight.*]
ignore_errors = true
[mypy-homeassistant.components.ping.*]
ignore_errors = true

View File

@ -117,7 +117,6 @@ IGNORED_MODULES: Final[list[str]] = [
"homeassistant.components.ozw.*",
"homeassistant.components.panasonic_viera.*",
"homeassistant.components.philips_js.*",
"homeassistant.components.pilight.*",
"homeassistant.components.ping.*",
"homeassistant.components.pioneer.*",
"homeassistant.components.plaato.*",