summaryrefslogtreecommitdiff
path: root/tasks.py
diff options
context:
space:
mode:
authorEric Lin <anselor@gmail.com>2021-01-05 11:29:39 -0500
committerEric Lin <anselor@gmail.com>2021-01-21 10:24:08 -0500
commitf1f76a4ba207d802f78277d0ba3defa44cf7b973 (patch)
tree0a59103b35e9160aed2466fdafa0f8020c426bcc /tasks.py
parente0dee46ca871e56523059b1566577ff781f6fb63 (diff)
downloadcmd2-git-import_wrapping.tar.gz
Changed isort to force wrapping of imports to reduce merge conflicts from minor import changes.import_wrapping
Diffstat (limited to 'tasks.py')
-rw-r--r--tasks.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/tasks.py b/tasks.py
index 2bc7f7fb..4bc4540e 100644
--- a/tasks.py
+++ b/tasks.py
@@ -16,7 +16,9 @@ import sys
import invoke
-from plugins import tasks as plugin_tasks
+from plugins import (
+ tasks as plugin_tasks,
+)
TASK_ROOT = pathlib.Path(__file__).resolve().parent
TASK_ROOT_STR = str(TASK_ROOT)
@@ -96,7 +98,7 @@ namespace_clean.add_task(pytest_clean, 'pytest')
def mypy(context):
"""Run mypy optional static type checker"""
with context.cd(TASK_ROOT_STR):
- context.run("mypy main.py")
+ context.run("mypy cmd2")
namespace.add_task(mypy)