diff options
author | Eric Lin <anselor@gmail.com> | 2021-01-05 11:29:39 -0500 |
---|---|---|
committer | anselor <anselor@gmail.com> | 2021-01-22 10:40:50 -0500 |
commit | a3b1b6ddf81cdc0b253f15feeb167ff348afd14f (patch) | |
tree | 2556f4aa57d02e12526949c08cf032c3e1a67d11 /tasks.py | |
parent | c1859045c8d439932fac9ceb5203a400db609533 (diff) | |
download | cmd2-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.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) |