mirror of
https://github.com/home-assistant/core.git
synced 2025-08-02 20:25:07 +02:00
Add ruff rule PIE808 (#113621)
This commit is contained in:
@@ -160,7 +160,7 @@ def execute(
|
||||
This method also retries a few times in the case of stale connections.
|
||||
"""
|
||||
debug = _LOGGER.isEnabledFor(logging.DEBUG)
|
||||
for tryno in range(0, RETRIES):
|
||||
for tryno in range(RETRIES):
|
||||
try:
|
||||
if debug:
|
||||
timer_start = time.perf_counter()
|
||||
|
Reference in New Issue
Block a user