From 24159dda5875ddc0cbc6b54d9ef6d9df60041ffe Mon Sep 17 00:00:00 2001 From: "Paul Gauthier (aider)" Date: Sat, 22 Mar 2025 13:26:03 -0700 Subject: [PATCH] style: Format test_coder.py for readability --- tests/basic/test_coder.py | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/tests/basic/test_coder.py b/tests/basic/test_coder.py index 7f65b815a..01cbb3b61 100644 --- a/tests/basic/test_coder.py +++ b/tests/basic/test_coder.py @@ -349,12 +349,20 @@ class TestCoder(unittest.TestCase): ), {test_files[1]}, ), - # Files mentioned in markdown bold format (f"You should check **{test_files[0]}** for issues", {test_files[0]}), - (f"Look at both **{test_files[1]}** and **{test_files[2]}**", {test_files[1], test_files[2]}), - (f"The file **{test_files[3].replace('/', '\\')}** needs updating", {test_files[3]}), - (f"Files to modify:\n- **{test_files[0]}**\n- **{test_files[4]}**", {test_files[0], test_files[4]}), + ( + f"Look at both **{test_files[1]}** and **{test_files[2]}**", + {test_files[1], test_files[2]}, + ), + ( + f"The file **{test_files[3].replace('/', '\\')}** needs updating", + {test_files[3]}, + ), + ( + f"Files to modify:\n- **{test_files[0]}**\n- **{test_files[4]}**", + {test_files[0], test_files[4]}, + ), (f"Files mentioned like **aider/args.py** should be detected", set()), ]