Add type ignore error codes [helpers] (#66776)

This commit is contained in:
Marc Mueller 2022-02-18 11:31:37 +01:00 committed by GitHub
parent 0188e8b319
commit bfb1abd3a2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
12 changed files with 25 additions and 23 deletions

View file

@ -97,7 +97,7 @@ class Debouncer:
async with self._execute_lock:
# Abort if timer got set while we're waiting for the lock.
if self._timer_task:
return # type: ignore
return # type: ignore[unreachable]
try:
task = self.hass.async_run_hass_job(self._job)