summaryrefslogtreecommitdiff
path: root/tasks.py
diff options
context:
space:
mode:
authorTodd Leonhardt <todd.leonhardt@gmail.com>2018-06-25 22:29:29 -0700
committerTodd Leonhardt <todd.leonhardt@gmail.com>2018-06-25 22:29:29 -0700
commitb41982d3aded8b3c09ba2decf985fbdc54a954e9 (patch)
tree712c1a628b78269509df58eb5066db3ec9d4faae /tasks.py
parent63aa28c284a9c854b950f4bf2dbe4aa438f21365 (diff)
downloadcmd2-git-b41982d3aded8b3c09ba2decf985fbdc54a954e9.tar.gz
"invoke clean" will now also cleanup mypy daemon artifacts
Diffstat (limited to 'tasks.py')
-rw-r--r--tasks.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/tasks.py b/tasks.py
index ac525517..183a033d 100644
--- a/tasks.py
+++ b/tasks.py
@@ -64,7 +64,7 @@ namespace.add_task(mypy)
def mypy_clean(context):
"Remove mypy cache directory"
#pylint: disable=unused-argument
- dirs = ['.mypy_cache']
+ dirs = ['.mypy_cache', 'dmypy.json', 'dmypy.sock']
rmrf(dirs)
namespace_clean.add_task(mypy_clean, 'mypy')
@@ -195,4 +195,3 @@ def pypi_test(context):
"Build and upload a distribution to https://test.pypi.org"
context.run('twine upload --repository-url https://test.pypi.org/legacy/ dist/*')
namespace.add_task(pypi_test)
-