summaryrefslogtreecommitdiff
path: root/plugins/template
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/template')
-rw-r--r--plugins/template/examples/example.py3
-rw-r--r--plugins/template/tests/test_myplugin.py5
2 files changed, 6 insertions, 2 deletions
diff --git a/plugins/template/examples/example.py b/plugins/template/examples/example.py
index 49a3df01..b071b5f8 100644
--- a/plugins/template/examples/example.py
+++ b/plugins/template/examples/example.py
@@ -1,9 +1,10 @@
#
# coding=utf-8
-import cmd2
import cmd2_myplugin
+import cmd2
+
class Example(cmd2_myplugin.MyPlugin, cmd2.Cmd):
"""An class to show how to use a plugin"""
diff --git a/plugins/template/tests/test_myplugin.py b/plugins/template/tests/test_myplugin.py
index 8d29b3b1..06ca2567 100644
--- a/plugins/template/tests/test_myplugin.py
+++ b/plugins/template/tests/test_myplugin.py
@@ -2,7 +2,10 @@
# coding=utf-8
import cmd2_myplugin
-from cmd2 import cmd2
+
+from cmd2 import (
+ cmd2,
+)
######
#