summaryrefslogtreecommitdiff
path: root/examples/modular_commands/commandset_basic.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/modular_commands/commandset_basic.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/modular_commands/commandset_basic.py')
-rw-r--r--examples/modular_commands/commandset_basic.py18
1 files changed, 14 insertions, 4 deletions
diff --git a/examples/modular_commands/commandset_basic.py b/examples/modular_commands/commandset_basic.py
index 2ceda439..4417bfe5 100644
--- a/examples/modular_commands/commandset_basic.py
+++ b/examples/modular_commands/commandset_basic.py
@@ -2,10 +2,20 @@
"""
A simple example demonstrating a loadable command set
"""
-from typing import List
-
-from cmd2 import Cmd, CommandSet, Statement, with_category, with_default_category
-from cmd2.utils import CompletionError
+from typing import (
+ List,
+)
+
+from cmd2 import (
+ Cmd,
+ CommandSet,
+ Statement,
+ with_category,
+ with_default_category,
+)
+from cmd2.utils import (
+ CompletionError,
+)
@with_default_category('Basic Completion')