From 0c37f002c9dff74258d83e4a6a869784bb42de42 Mon Sep 17 00:00:00 2001 From: "Paul Gauthier (aider)" Date: Tue, 29 Oct 2024 12:48:21 -0700 Subject: [PATCH] style: remove extra newlines and fix trailing comma --- aider/commands.py | 2 -- tests/basic/test_commands.py | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/aider/commands.py b/aider/commands.py index bd7eaf26a..83f741f34 100644 --- a/aider/commands.py +++ b/aider/commands.py @@ -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 diff --git a/tests/basic/test_commands.py b/tests/basic/test_commands.py index c6d58b8a8..500c09313 100644 --- a/tests/basic/test_commands.py +++ b/tests/basic/test_commands.py @@ -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():