mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-29 00:35:00 +00:00
style: Fix formatting and linting issues in editblock_coder.py
This commit is contained in:
parent
d893b54b0a
commit
656d224bf5
1 changed files with 2 additions and 1 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue