mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-23 22:04:59 +00:00
style: remove extra newlines and fix trailing comma
This commit is contained in:
parent
18c41b6128
commit
0c37f002c9
2 changed files with 1 additions and 3 deletions
|
@ -1292,8 +1292,6 @@ class Commands:
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
self.io.tool_error(f"Error saving commands to file: {e}")
|
self.io.tool_error(f"Error saving commands to file: {e}")
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
def cmd_copy(self, args):
|
def cmd_copy(self, args):
|
||||||
"Copy the last assistant message to the clipboard"
|
"Copy the last assistant message to the clipboard"
|
||||||
all_messages = self.coder.done_messages + self.coder.cur_messages
|
all_messages = self.coder.done_messages + self.coder.cur_messages
|
||||||
|
|
|
@ -652,7 +652,7 @@ class TestCommands(TestCase):
|
||||||
test_files = {
|
test_files = {
|
||||||
"file1.txt": "Content of file 1",
|
"file1.txt": "Content of file 1",
|
||||||
"file2.py": "print('Content of file 2')",
|
"file2.py": "print('Content of file 2')",
|
||||||
"subdir/file3.md": "# Content of file 3"
|
"subdir/file3.md": "# Content of file 3",
|
||||||
}
|
}
|
||||||
|
|
||||||
for file_path, content in test_files.items():
|
for file_path, content in test_files.items():
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue