mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-30 09:14:59 +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__":
|
if __name__ == "__main__":
|
||||||
main()
|
main()
|
||||||
|
|
||||||
def handle_shell_commands(self, commands_str):
|
def handle_shell_commands(self, commands_str):
|
||||||
commands = commands_str.strip().splitlines()
|
commands = commands_str.strip().splitlines()
|
||||||
if self.io.confirm_ask("Run shell command(s)?", subject="\n".join(commands)):
|
if self.io.confirm_ask("Run shell command(s)?", subject="\n".join(commands)):
|
||||||
for command in commands:
|
for command in commands:
|
||||||
command = command.strip()
|
command = command.strip()
|
||||||
if not command or command.startswith('#'):
|
if not command or command.startswith("#"):
|
||||||
continue
|
continue
|
||||||
|
|
||||||
self.io.tool_output()
|
self.io.tool_output()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue