style: Format code with linter for improved readability

This commit is contained in:
Paul Gauthier (aider) 2024-11-15 16:23:26 -08:00
parent f7de2234f2
commit 76c7c2562c

View file

@ -356,7 +356,9 @@ class InputOutput:
time.sleep(delay)
delay *= 2 # Exponential backoff
else:
self.tool_error(f"Unable to write file {filename} after {max_retries} attempts: {err}")
self.tool_error(
f"Unable to write file {filename} after {max_retries} attempts: {err}"
)
raise
except OSError as err:
self.tool_error(f"Unable to write file {filename}: {err}")