From f12682a0c131c9e8aa2d7f7a6627087324ab9f05 Mon Sep 17 00:00:00 2001 From: "Paul Gauthier (aider)" Date: Wed, 2 Oct 2024 09:20:45 -0700 Subject: [PATCH] style: Format code and remove whitespace --- tests/basic/test_commands.py | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/tests/basic/test_commands.py b/tests/basic/test_commands.py index 8e9c8631b..b26c890fc 100644 --- a/tests/basic/test_commands.py +++ b/tests/basic/test_commands.py @@ -667,7 +667,7 @@ class TestCommands(TestCase): for fname in coder.abs_read_only_fnames ) ) - + # Check that other_file.txt was not added other_file_path = Path(repo_dir) / "other_file.txt" self.assertFalse( @@ -685,11 +685,7 @@ class TestCommands(TestCase): # Create a directory structure with files (Path(repo_dir) / "subdir").mkdir() - test_files = [ - "test_file1.txt", - "subdir/test_file2.txt", - "subdir/other_file.txt" - ] + test_files = ["test_file1.txt", "subdir/test_file2.txt", "subdir/other_file.txt"] for file_name in test_files: file_path = Path(repo_dir) / file_name file_path.write_text(f"Content of {file_name}")