mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-06 20:54:59 +00:00
style: fix indentation and remove redundant comment
This commit is contained in:
parent
20dae33be5
commit
cca4f894a8
1 changed files with 1 additions and 3 deletions
|
@ -176,8 +176,7 @@ The "AI" comments below marked with █ can be found in the code files I've shar
|
||||||
They contain your instructions.
|
They contain your instructions.
|
||||||
Make the requested changes.
|
Make the requested changes.
|
||||||
Be sure to remove all these "AI" comments from the code!
|
Be sure to remove all these "AI" comments from the code!
|
||||||
|
"""
|
||||||
"""
|
|
||||||
|
|
||||||
# Refresh all AI comments from tracked files
|
# Refresh all AI comments from tracked files
|
||||||
for fname in self.coder.abs_fnames:
|
for fname in self.coder.abs_fnames:
|
||||||
|
@ -213,7 +212,6 @@ Be sure to remove all these "AI" comments from the code!
|
||||||
context.add_context()
|
context.add_context()
|
||||||
res += context.format()
|
res += context.format()
|
||||||
except ValueError:
|
except ValueError:
|
||||||
# Fall back to just showing the comments if TreeContext fails
|
|
||||||
for ln, comment in zip(line_nums, comments):
|
for ln, comment in zip(line_nums, comments):
|
||||||
res += f" Line {ln}: {comment}\n"
|
res += f" Line {ln}: {comment}\n"
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue