style: remove extra newlines and fix trailing comma

This commit is contained in:
Paul Gauthier (aider) 2024-10-29 12:48:21 -07:00
parent 18c41b6128
commit 0c37f002c9
2 changed files with 1 additions and 3 deletions

View file

@ -1292,8 +1292,6 @@ class Commands:
except Exception as e:
self.io.tool_error(f"Error saving commands to file: {e}")
def cmd_copy(self, args):
"Copy the last assistant message to the clipboard"
all_messages = self.coder.done_messages + self.coder.cur_messages

View file

@ -652,7 +652,7 @@ class TestCommands(TestCase):
test_files = {
"file1.txt": "Content of file 1",
"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():