style: apply code formatting

This commit is contained in:
Paul Gauthier (aider) 2025-05-10 07:10:19 -07:00
parent 8c755bf032
commit 7d3c817664

View file

@ -13,8 +13,8 @@ Use it like:
spinner.stop()
"""
import threading
import sys
import threading
import time
from rich.console import Console
@ -167,6 +167,7 @@ class Spinner:
self.console.show_cursor(True)
self.visible = False
class WaitingSpinner:
"""Background spinner that can be started/stopped safely."""
@ -202,6 +203,7 @@ class WaitingSpinner:
def __exit__(self, exc_type, exc_val, exc_tb):
self.stop()
def main():
spinner = Spinner("Running spinner...")
try: