diff options
author | Eric Lin <anselor@gmail.com> | 2021-01-05 11:29:39 -0500 |
---|---|---|
committer | Eric Lin <anselor@gmail.com> | 2021-01-21 10:24:08 -0500 |
commit | f1f76a4ba207d802f78277d0ba3defa44cf7b973 (patch) | |
tree | 0a59103b35e9160aed2466fdafa0f8020c426bcc /tasks.py | |
parent | e0dee46ca871e56523059b1566577ff781f6fb63 (diff) | |
download | cmd2-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.py | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -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) |