mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-03 03:05:00 +00:00
style: run linter and fix code formatting in io.py
This commit is contained in:
parent
c1642b5eca
commit
ad0497dfdf
1 changed files with 8 additions and 2 deletions
10
aider/io.py
10
aider/io.py
|
@ -483,7 +483,13 @@ class InputOutput:
|
|||
self.append_chat_history(hist)
|
||||
|
||||
def confirm_ask(
|
||||
self, question, default="y", subject=None, explicit_yes_required=False, group=None, allow_never=False
|
||||
self,
|
||||
question,
|
||||
default="y",
|
||||
subject=None,
|
||||
explicit_yes_required=False,
|
||||
group=None,
|
||||
allow_never=False,
|
||||
):
|
||||
self.num_user_asks += 1
|
||||
|
||||
|
@ -554,7 +560,7 @@ class InputOutput:
|
|||
|
||||
res = res.lower()[0]
|
||||
|
||||
if res == 'x' and allow_never:
|
||||
if res == "x" and allow_never:
|
||||
self.never_prompts.add(question)
|
||||
hist = f"{question.strip()} {res}"
|
||||
self.append_chat_history(hist, linebreak=True, blockquote=True)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue