Skip to content

Commit d5cacbf

Browse files
authored
Merge pull request #455 from python-cmd2/mypy_cleanup
"invoke clean" will now also cleanup mypy daemon artifacts
2 parents ff2a732 + d05037e commit d5cacbf

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

tasks.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ def mypy(context):
6464
def mypy_clean(context):
6565
"Remove mypy cache directory"
6666
#pylint: disable=unused-argument
67-
dirs = ['.mypy_cache']
67+
dirs = ['.mypy_cache', 'dmypy.json', 'dmypy.sock']
6868
rmrf(dirs)
6969
namespace_clean.add_task(mypy_clean, 'mypy')
7070

@@ -195,4 +195,3 @@ def pypi_test(context):
195195
"Build and upload a distribution to https://test.pypi.org"
196196
context.run('twine upload --repository-url https://test.pypi.org/legacy/ dist/*')
197197
namespace.add_task(pypi_test)
198-

0 commit comments

Comments
 (0)