From 15317a9f4bc1b44cc658a9b769ec28c0c5ef6dff Mon Sep 17 00:00:00 2001 From: "Paul Gauthier (aider)" Date: Thu, 8 May 2025 14:09:38 -0700 Subject: [PATCH] style: Run linter and apply fixes --- aider/utils.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/aider/utils.py b/aider/utils.py index 68b27931f..f72528019 100644 --- a/aider/utils.py +++ b/aider/utils.py @@ -322,7 +322,7 @@ class Spinner: num_backspaces = chars_in_content_after_scanner + 1 num_backspaces = max(0, num_backspaces) # Ensure not negative - sys.stdout.write('\b' * num_backspaces) + sys.stdout.write("\b" * num_backspaces) sys.stdout.flush() # Flush after all writes for this frame @@ -335,6 +335,7 @@ class Spinner: elif self.scanner_pos <= 0: # Reached or passed the beginning self.scanner_pos = 0 # Pin to start self.scanner_dir = 1 # Reverse direction + def end(self): if self.visible and self.is_tty: clear_len = len(self.text) + 1 + self.animation_len # text + space + animation segment