summaryrefslogtreecommitdiff
path: root/tasks.py
diff options
context:
space:
mode:
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)