summaryrefslogtreecommitdiff
path: root/tasks.py
diff options
context:
space:
mode:
authorEric Lin <anselor@gmail.com>2021-01-05 11:29:39 -0500
committeranselor <anselor@gmail.com>2021-01-22 10:40:50 -0500
commita3b1b6ddf81cdc0b253f15feeb167ff348afd14f (patch)
tree2556f4aa57d02e12526949c08cf032c3e1a67d11 /tasks.py
parentc1859045c8d439932fac9ceb5203a400db609533 (diff)
downloadcmd2-git-a3b1b6ddf81cdc0b253f15feeb167ff348afd14f.tar.gz
Changed isort to force wrapping of imports to reduce merge conflicts from minor import changes.
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)