mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-01 18:25:00 +00:00
style: apply code formatting
This commit is contained in:
parent
8c755bf032
commit
7d3c817664
1 changed files with 3 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue