]> Repositories - hackapet/Adafruit_Blinka_Displayio.git/blobdiff - displayio/__init__.py
update after running pre-commit
[hackapet/Adafruit_Blinka_Displayio.git] / displayio / __init__.py
index fad38f0504c52f980746b89231d3598f8e48b53d..b22ce94c9113c19861d21f5afcbe4ff4d63c577c 100644 (file)
@@ -53,8 +53,8 @@ def _background(stop_event):
     while not stop_event.is_set():
         for display in displays:
             display._background()  # pylint: disable=protected-access
-    
-        # relax system when _background does nothing 
+
+        # relax system when _background does nothing
         # and we are in a while True loop consuming lots of CPU
         time.sleep(0.0)
 
@@ -91,7 +91,9 @@ def allocate_display_bus(new_display_bus: _DisplayBus) -> None:
 
 
 background_thread_stop_event = threading.Event()
-background_thread = threading.Thread(target=_background,args=(background_thread_stop_event,), daemon=True)
+background_thread = threading.Thread(
+    target=_background, args=(background_thread_stop_event,), daemon=True
+)
 
 
 # Start the background thread