From 0b64604eb9a370267aaca2a045378a2db5eaebcb Mon Sep 17 00:00:00 2001 From: Eric Lin Date: Thu, 16 Jul 2020 17:29:11 -0400 Subject: 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. --- plugins/tasks.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'plugins/tasks.py') 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') -- cgit v1.2.1