Skip to content

Add flag to set custom mypy cache directory #1853

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jul 13, 2016

Conversation

Michael0x2a
Copy link
Collaborator

This pull request implements #1414 by adding the --cache-dir command line flag. Mypy will continue to default to using .mypy_cache when the flag is omitted.

The flag is a no-op if incremental mode is not enabled.

Usage:

mypy --cache-dir ../custom-cache --incremental my_module

This pull request implements python#1414
by adding the `--cache-dir` command line flag. Mypy will continue to
default to using `.mypy_cache` when the flag is omitted.

Usage:

    mypy --cache-dir ../.custom-cache my_module
@gvanrossum gvanrossum merged commit c528638 into python:master Jul 13, 2016
@Michael0x2a Michael0x2a deleted the add-cache-location-flag branch July 21, 2016 20:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants