Update black to 22.1.0 (#65788)

This commit is contained in:
Franck Nijhof 2022-02-05 14:19:37 +01:00 committed by GitHub
parent 58409d0895
commit fa09cf663e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
42 changed files with 204 additions and 255 deletions

View file

@ -1919,7 +1919,7 @@ def _async_create_timer(hass: HomeAssistant) -> None:
"""Schedule a timer tick when the next second rolls around."""
nonlocal handle
slp_seconds = 1 - (now.microsecond / 10 ** 6)
slp_seconds = 1 - (now.microsecond / 10**6)
target = monotonic() + slp_seconds
handle = hass.loop.call_later(slp_seconds, fire_time_event, target)