summaryrefslogtreecommitdiff
path: root/plugins/tasks.py
diff options
context:
space:
mode:
authorEric Lin <anselor@gmail.com>2020-07-16 17:29:11 -0400
committeranselor <anselor@gmail.com>2020-07-21 16:59:24 -0400
commit0b64604eb9a370267aaca2a045378a2db5eaebcb (patch)
treeeb2934e984f1f281a050c21a34d1326b961552b0 /plugins/tasks.py
parent2df28cbc989c4f43cedd5db0fd5abd1426509567 (diff)
downloadcmd2-git-0b64604eb9a370267aaca2a045378a2db5eaebcb.tar.gz
Added type annotations for fields in cmd2.Cmd.
Cleaned up docstring in external test plugin Updated some initialization to match new approach for version info discovery. Tagged some IDE-only lines as no-cover Adds plugin coverage reporting.
Diffstat (limited to 'plugins/tasks.py')
-rw-r--r--plugins/tasks.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/plugins/tasks.py b/plugins/tasks.py
index 06104429..26ec1adb 100644
--- a/plugins/tasks.py
+++ b/plugins/tasks.py
@@ -8,14 +8,15 @@ Make sure you satisfy the following Python module requirements if you are trying
- wheel >= 0.31.0
- setuptools >= 39.1.0
"""
-import os
import invoke
from plugins.ext_test import tasks as ext_test_tasks
from plugins.template import tasks as template_tasks
# create namespaces
-namespace = invoke.Collection(ext_test=ext_test_tasks, template=template_tasks)
+namespace = invoke.Collection(ext_test=ext_test_tasks,
+ template=template_tasks,
+ )
namespace_clean = invoke.Collection('clean')
namespace.add_collection(namespace_clean, 'clean')