From 78150874447e22ba6858202ef7012ac0b133b110 Mon Sep 17 00:00:00 2001 From: "Paul Gauthier (aider)" Date: Tue, 27 Aug 2024 13:57:04 -0700 Subject: [PATCH] style: format code with black --- tests/basic/test_main.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/tests/basic/test_main.py b/tests/basic/test_main.py index 97e645d5e..3d742f72a 100644 --- a/tests/basic/test_main.py +++ b/tests/basic/test_main.py @@ -635,7 +635,9 @@ class TestMain(TestCase): shell_md = Path("shell.md") shell_md.write_text("```bash\ntouch no_suggest_file.txt\n```") - with patch("aider.coders.base_coder.Coder.handle_shell_commands") as mock_handle_shell_commands: + with patch( + "aider.coders.base_coder.Coder.handle_shell_commands" + ) as mock_handle_shell_commands: main( ["--apply", "shell.md", "--no-git"], input=DummyInput(), @@ -645,7 +647,9 @@ class TestMain(TestCase): # Make sure handle_shell_commands IS called when --no-suggest-shell-commands is not used mock_handle_shell_commands.assert_called_once() - with patch("aider.coders.base_coder.Coder.handle_shell_commands") as mock_handle_shell_commands: + with patch( + "aider.coders.base_coder.Coder.handle_shell_commands" + ) as mock_handle_shell_commands: main( ["--apply", "shell.md", "--no-suggest-shell-commands", "--no-git"], input=DummyInput(),