mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-29 00:35:00 +00:00
style: fix line length and comment formatting
This commit is contained in:
parent
750b12282f
commit
3fcd79e165
1 changed files with 6 additions and 4 deletions
|
@ -797,7 +797,9 @@ class Coder:
|
|||
urls = list(set(url_pattern.findall(text))) # Use set to remove duplicates
|
||||
for url in urls:
|
||||
dump(url)
|
||||
if self.io.confirm_ask("Open URL for more info about this error?", subject=url.rstrip(".',")):
|
||||
if self.io.confirm_ask(
|
||||
"Open URL for more info about this error?", subject=url.rstrip(".',")
|
||||
):
|
||||
webbrowser.open(url)
|
||||
return urls
|
||||
|
||||
|
@ -1151,10 +1153,10 @@ class Coder:
|
|||
except retry_exceptions() as err:
|
||||
# Print the error and its base classes
|
||||
err_msg = str(err)
|
||||
#base_classes = []
|
||||
#for cls in err.__class__.__mro__: # Skip the class itself
|
||||
# base_classes = []
|
||||
# for cls in err.__class__.__mro__: # Skip the class itself
|
||||
# base_classes.append(cls.__name__)
|
||||
#if base_classes:
|
||||
# if base_classes:
|
||||
# err_msg += f"\nBase classes: {' -> '.join(base_classes)}"
|
||||
self.io.tool_error(err_msg)
|
||||
retry_delay *= 2
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue