From 813de04596d286bb09f071b9706f41a8009f9e31 Mon Sep 17 00:00:00 2001 From: "Paul Gauthier (aider)" Date: Thu, 6 Mar 2025 11:41:58 -0800 Subject: [PATCH] style: Remove trailing whitespaces in base_coder.py and io.py --- aider/coders/base_coder.py | 2 +- aider/io.py | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/aider/coders/base_coder.py b/aider/coders/base_coder.py index 6ee21acf8..8dfd021b6 100755 --- a/aider/coders/base_coder.py +++ b/aider/coders/base_coder.py @@ -1279,7 +1279,7 @@ class Coder: def send_message(self, inp): self.event("message_send_starting") - + # Notify IO that LLM processing is starting self.io.llm_started() diff --git a/aider/io.py b/aider/io.py index e4d3df45e..d4acc6bc4 100644 --- a/aider/io.py +++ b/aider/io.py @@ -462,7 +462,7 @@ class InputOutput: edit_format=None, ): self.rule() - + # Ring the bell if needed self.ring_bell() @@ -717,7 +717,7 @@ class InputOutput: allow_never=False, ): self.num_user_asks += 1 - + # Ring the bell if needed self.ring_bell() @@ -830,7 +830,7 @@ class InputOutput: @restore_multiline def prompt_ask(self, question, default="", subject=None): self.num_user_asks += 1 - + # Ring the bell if needed self.ring_bell() @@ -944,17 +944,17 @@ class InputOutput: def llm_started(self): """Mark that the LLM has started processing, so we should ring the bell on next input""" self.bell_on_next_input = True - + def llm_finished(self): """Clear the bell flag (optional, as we'll clear it after ringing)""" self.bell_on_next_input = False - + def ring_bell(self): """Ring the terminal bell if needed and clear the flag""" if self.bell_on_next_input: print("\a", end="", flush=True) # Ring the bell self.bell_on_next_input = False # Clear the flag - + def toggle_multiline_mode(self): """Toggle between normal and multiline input modes""" self.multiline_mode = not self.multiline_mode