summaryrefslogtreecommitdiff
path: root/examples/async_printing.py
diff options
context:
space:
mode:
authorEric Lin <anselor@gmail.com>2021-01-05 11:29:39 -0500
committerEric Lin <anselor@gmail.com>2021-01-21 10:24:08 -0500
commitf1f76a4ba207d802f78277d0ba3defa44cf7b973 (patch)
tree0a59103b35e9160aed2466fdafa0f8020c426bcc /examples/async_printing.py
parente0dee46ca871e56523059b1566577ff781f6fb63 (diff)
downloadcmd2-git-import_wrapping.tar.gz
Changed isort to force wrapping of imports to reduce merge conflicts from minor import changes.import_wrapping
Diffstat (limited to 'examples/async_printing.py')
-rwxr-xr-xexamples/async_printing.py9
1 files changed, 7 insertions, 2 deletions
diff --git a/examples/async_printing.py b/examples/async_printing.py
index a136d8e2..a4e02c92 100755
--- a/examples/async_printing.py
+++ b/examples/async_printing.py
@@ -7,10 +7,15 @@ and changes the window title
import random
import threading
import time
-from typing import List
+from typing import (
+ List,
+)
import cmd2
-from cmd2 import fg, style
+from cmd2 import (
+ fg,
+ style,
+)
ALERTS = ["Watch as this application prints alerts and updates the prompt",
"This will only happen when the prompt is present",