summaryrefslogtreecommitdiff
path: root/examples/modular_commands
diff options
context:
space:
mode:
authorTodd Leonhardt <todd.leonhardt@gmail.com>2021-01-31 23:24:47 -0500
committerTodd Leonhardt <todd.leonhardt@gmail.com>2021-01-31 23:24:47 -0500
commit9cb49fb2a3b980f97d5fb27ea37c6dfeee3b9ec4 (patch)
tree6d03d9b69ca6472211deb512ab80469f7b7d4802 /examples/modular_commands
parent43be550b235f88007c4c1792a7caff38c5ba271f (diff)
downloadcmd2-git-9cb49fb2a3b980f97d5fb27ea37c6dfeee3b9ec4.tar.gz
Add in isort changes
Diffstat (limited to 'examples/modular_commands')
-rw-r--r--examples/modular_commands/commandset_basic.py8
-rw-r--r--examples/modular_commands/commandset_complex.py8
2 files changed, 12 insertions, 4 deletions
diff --git a/examples/modular_commands/commandset_basic.py b/examples/modular_commands/commandset_basic.py
index c3ab41f2..226703b8 100644
--- a/examples/modular_commands/commandset_basic.py
+++ b/examples/modular_commands/commandset_basic.py
@@ -2,7 +2,9 @@
"""
A simple example demonstrating a loadable command set
"""
-from typing import List
+from typing import (
+ List,
+)
from cmd2 import (
Cmd,
@@ -11,7 +13,9 @@ from cmd2 import (
with_category,
with_default_category,
)
-from cmd2.utils import CompletionError
+from cmd2.utils import (
+ CompletionError,
+)
@with_default_category('Basic Completion')
diff --git a/examples/modular_commands/commandset_complex.py b/examples/modular_commands/commandset_complex.py
index 03bc2507..a9c39e55 100644
--- a/examples/modular_commands/commandset_complex.py
+++ b/examples/modular_commands/commandset_complex.py
@@ -5,10 +5,14 @@ Test CommandSet
"""
import argparse
-from typing import List
+from typing import (
+ List,
+)
import cmd2
-from cmd2 import utils
+from cmd2 import (
+ utils,
+)
@cmd2.with_default_category('Fruits')