diff options
Diffstat (limited to 'plugins/ext_test')
-rw-r--r-- | plugins/ext_test/cmd2_ext_test/__init__.py | 2 | ||||
-rw-r--r-- | plugins/ext_test/examples/example.py | 2 | ||||
-rw-r--r-- | plugins/ext_test/setup.py | 1 | ||||
-rw-r--r-- | plugins/ext_test/tasks.py | 1 | ||||
-rw-r--r-- | plugins/ext_test/tests/test_ext_test.py | 2 |
5 files changed, 4 insertions, 4 deletions
diff --git a/plugins/ext_test/cmd2_ext_test/__init__.py b/plugins/ext_test/cmd2_ext_test/__init__.py index 50a3f5a5..dc52b4d9 100644 --- a/plugins/ext_test/cmd2_ext_test/__init__.py +++ b/plugins/ext_test/cmd2_ext_test/__init__.py @@ -5,7 +5,7 @@ An overview of what myplugin does. """ -from pkg_resources import get_distribution, DistributionNotFound +from pkg_resources import DistributionNotFound, get_distribution from .cmd2_ext_test import ExternalTestMixin diff --git a/plugins/ext_test/examples/example.py b/plugins/ext_test/examples/example.py index 649f8627..d7f0c762 100644 --- a/plugins/ext_test/examples/example.py +++ b/plugins/ext_test/examples/example.py @@ -2,8 +2,8 @@ # coding=utf-8 # import cmd2 import cmd2 -import cmd2_ext_test import cmd2.py_bridge +import cmd2_ext_test class Example(cmd2.Cmd): diff --git a/plugins/ext_test/setup.py b/plugins/ext_test/setup.py index 71d87e49..d48e9871 100644 --- a/plugins/ext_test/setup.py +++ b/plugins/ext_test/setup.py @@ -2,6 +2,7 @@ # coding=utf-8 import os + import setuptools # diff --git a/plugins/ext_test/tasks.py b/plugins/ext_test/tasks.py index 2f5955ae..ffa55e61 100644 --- a/plugins/ext_test/tasks.py +++ b/plugins/ext_test/tasks.py @@ -14,7 +14,6 @@ import shutil import invoke - TASK_ROOT = pathlib.Path(__file__).resolve().parent TASK_ROOT_STR = str(TASK_ROOT) diff --git a/plugins/ext_test/tests/test_ext_test.py b/plugins/ext_test/tests/test_ext_test.py index cf5429b8..b1ba1b7d 100644 --- a/plugins/ext_test/tests/test_ext_test.py +++ b/plugins/ext_test/tests/test_ext_test.py @@ -3,8 +3,8 @@ import pytest -from cmd2 import cmd2, CommandResult import cmd2_ext_test +from cmd2 import CommandResult, cmd2 ###### # |