From c9ef516bdba7118d82f392a73667056f98a2169b Mon Sep 17 00:00:00 2001 From: Paul Gauthier Date: Thu, 11 May 2023 22:19:01 -0700 Subject: [PATCH] cleanup \[ from prompt string which was generating improper escape warnings --- aider/coder.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aider/coder.py b/aider/coder.py index 0df05f1e5..1bf219fd2 100755 --- a/aider/coder.py +++ b/aider/coder.py @@ -508,7 +508,7 @@ class Coder: self.console.print(f"[bright_black]Suggested commit message:\n{commit_message}\n") res = self.prompt_ask( - "[bright_black]Commit before the chat proceeds? \[y/n/commit message]", # noqa: W605 E501 + Text("Commit before the chat proceeds? [y/n/commit message]", style="bright_black"), default="y", ).strip() self.last_asked_for_commit_time = self.get_last_modified()