From 6cec44e4025645423af71cea12ad25e3bd64717f Mon Sep 17 00:00:00 2001 From: "Paul Gauthier (aider)" Date: Tue, 29 Oct 2024 12:41:10 -0700 Subject: [PATCH] style: fix string quotes and whitespace in commands.py --- aider/commands.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/aider/commands.py b/aider/commands.py index edc0490fb..f6981de95 100644 --- a/aider/commands.py +++ b/aider/commands.py @@ -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)