mirror of
https://github.com/home-assistant/core.git
synced 2025-07-22 04:37:06 +00:00
Activate mypy for Pilight (#53956)
This commit is contained in:
parent
020759d01d
commit
7e2c6ae332
@ -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()
|
||||
|
3
mypy.ini
3
mypy.ini
@ -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
|
||||
|
||||
|
@ -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.*",
|
||||
|
Loading…
x
Reference in New Issue
Block a user