mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-25 23:05:00 +00:00
style: Format code and remove whitespace
This commit is contained in:
parent
79350ab195
commit
f12682a0c1
1 changed files with 2 additions and 6 deletions
|
@ -667,7 +667,7 @@ class TestCommands(TestCase):
|
||||||
for fname in coder.abs_read_only_fnames
|
for fname in coder.abs_read_only_fnames
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|
||||||
# Check that other_file.txt was not added
|
# Check that other_file.txt was not added
|
||||||
other_file_path = Path(repo_dir) / "other_file.txt"
|
other_file_path = Path(repo_dir) / "other_file.txt"
|
||||||
self.assertFalse(
|
self.assertFalse(
|
||||||
|
@ -685,11 +685,7 @@ class TestCommands(TestCase):
|
||||||
|
|
||||||
# Create a directory structure with files
|
# Create a directory structure with files
|
||||||
(Path(repo_dir) / "subdir").mkdir()
|
(Path(repo_dir) / "subdir").mkdir()
|
||||||
test_files = [
|
test_files = ["test_file1.txt", "subdir/test_file2.txt", "subdir/other_file.txt"]
|
||||||
"test_file1.txt",
|
|
||||||
"subdir/test_file2.txt",
|
|
||||||
"subdir/other_file.txt"
|
|
||||||
]
|
|
||||||
for file_name in test_files:
|
for file_name in test_files:
|
||||||
file_path = Path(repo_dir) / file_name
|
file_path = Path(repo_dir) / file_name
|
||||||
file_path.write_text(f"Content of {file_name}")
|
file_path.write_text(f"Content of {file_name}")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue