summaryrefslogtreecommitdiff
path: root/tasks.py
diff options
context:
space:
mode:
authorTodd Leonhardt <todd.leonhardt@gmail.com>2018-06-27 06:29:04 -0700
committerGitHub <noreply@github.com>2018-06-27 06:29:04 -0700
commitd5cacbf99100e722d265816483c8953d7e81a3b6 (patch)
tree877bb63c3c8c9ba0c928aab2d8cf65b286a32469 /tasks.py
parentff2a73219896b945b84e2320260e452cf351bceb (diff)
parentd05037ea43e8daa5a837c7a161828856a2a307fb (diff)
downloadcmd2-git-d5cacbf99100e722d265816483c8953d7e81a3b6.tar.gz
Merge pull request #455 from python-cmd2/mypy_cleanup
"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)
-