From f43b352949ebb6a0e1769f0117890d02a395a88f Mon Sep 17 00:00:00 2001 From: Paul Gauthier Date: Sat, 18 May 2024 19:00:43 -0700 Subject: [PATCH] Fix string interpolation typo in linter output message. --- aider/linter.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/aider/linter.py b/aider/linter.py index ed323449f..ae7da0253 100644 --- a/aider/linter.py +++ b/aider/linter.py @@ -46,9 +46,11 @@ class Linter: except subprocess.CalledProcessError as err: errors = err.output.decode() # non-zero exit status - res = "# Running: {cmd]\n" + res = f"# Running: {cmd}\n" res += "If the output below indicates errors or problems, fix them.\n" - res += "But if the command fixed all the issues itself, don't take further action.\n\n" + res += ( + "But if the command says it fixed all the issues itself, don't take further action.\n\n" + ) res += errors return res