summaryrefslogtreecommitdiff
path: root/plugins/ext_test
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 /plugins/ext_test
parent43be550b235f88007c4c1792a7caff38c5ba271f (diff)
downloadcmd2-git-9cb49fb2a3b980f97d5fb27ea37c6dfeee3b9ec4.tar.gz
Add in isort changes
Diffstat (limited to 'plugins/ext_test')
-rw-r--r--plugins/ext_test/cmd2_ext_test/__init__.py4
-rw-r--r--plugins/ext_test/examples/example.py3
-rw-r--r--plugins/ext_test/tests/test_ext_test.py2
3 files changed, 6 insertions, 3 deletions
diff --git a/plugins/ext_test/cmd2_ext_test/__init__.py b/plugins/ext_test/cmd2_ext_test/__init__.py
index 2cc38807..f246e822 100644
--- a/plugins/ext_test/cmd2_ext_test/__init__.py
+++ b/plugins/ext_test/cmd2_ext_test/__init__.py
@@ -17,6 +17,8 @@ except importlib_metadata.PackageNotFoundError: # pragma: no cover
# package is not installed
__version__ = 'unknown'
-from .cmd2_ext_test import ExternalTestMixin
+from .cmd2_ext_test import (
+ ExternalTestMixin,
+)
__all__ = ['ExternalTestMixin']
diff --git a/plugins/ext_test/examples/example.py b/plugins/ext_test/examples/example.py
index 3bfdf7e7..7dbb6677 100644
--- a/plugins/ext_test/examples/example.py
+++ b/plugins/ext_test/examples/example.py
@@ -1,9 +1,10 @@
#
# coding=utf-8
# import cmd2
+import cmd2_ext_test
+
import cmd2
import cmd2.py_bridge
-import cmd2_ext_test
class Example(cmd2.Cmd):
diff --git a/plugins/ext_test/tests/test_ext_test.py b/plugins/ext_test/tests/test_ext_test.py
index 39783158..037157f1 100644
--- a/plugins/ext_test/tests/test_ext_test.py
+++ b/plugins/ext_test/tests/test_ext_test.py
@@ -1,9 +1,9 @@
#
# coding=utf-8
+import cmd2_ext_test
import pytest
-import cmd2_ext_test
from cmd2 import (
CommandResult,
cmd2,