mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-28 16:25:00 +00:00
style: fix string quotes and whitespace in commands.py
This commit is contained in:
parent
fc6c01a9a5
commit
6cec44e402
1 changed files with 3 additions and 3 deletions
|
@ -1253,7 +1253,7 @@ class Commands:
|
|||
return
|
||||
|
||||
try:
|
||||
with open(args.strip(), 'r') as f:
|
||||
with open(args.strip(), "r") as f:
|
||||
commands = f.readlines()
|
||||
except FileNotFoundError:
|
||||
self.io.tool_error(f"File not found: {args}")
|
||||
|
@ -1264,9 +1264,9 @@ class Commands:
|
|||
|
||||
for cmd in commands:
|
||||
cmd = cmd.strip()
|
||||
if not cmd or cmd.startswith('#'):
|
||||
if not cmd or cmd.startswith("#"):
|
||||
continue
|
||||
|
||||
|
||||
self.io.tool_output(f"\nExecuting command: {cmd}")
|
||||
self.run(cmd)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue