Add ruff rule PIE808 (#113621)

This commit is contained in:
Sid
2024-03-17 09:56:26 +01:00
committed by GitHub
parent 1a70dbfd94
commit d5fd005db8
42 changed files with 61 additions and 69 deletions

View File

@@ -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()