From 656d224bf555eae1c558a3e70406e27d41c31f2f Mon Sep 17 00:00:00 2001 From: "Paul Gauthier (aider)" Date: Wed, 21 Aug 2024 13:23:06 -0700 Subject: [PATCH] style: Fix formatting and linting issues in editblock_coder.py --- aider/coders/editblock_coder.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/aider/coders/editblock_coder.py b/aider/coders/editblock_coder.py index e0b29cfca..882cd5635 100644 --- a/aider/coders/editblock_coder.py +++ b/aider/coders/editblock_coder.py @@ -568,12 +568,13 @@ def main(): if __name__ == "__main__": main() + def handle_shell_commands(self, commands_str): commands = commands_str.strip().splitlines() if self.io.confirm_ask("Run shell command(s)?", subject="\n".join(commands)): for command in commands: command = command.strip() - if not command or command.startswith('#'): + if not command or command.startswith("#"): continue self.io.tool_output()