-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
~ is not working in mypy.ini/cache_dir #6508
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
Comments
This seems a simple enough fix. Can you try your hand at sending us a PR? |
Unfortunately, I couldn't find the clear place in the code to easily fix this. |
Thank you very much!! |
The documentation states to support home (I guess this means |
@weilbith What do you mean by "would be", this was already added several weeks ago https://github.com/python/mypy/blob/master/mypy/config_parser.py#L42, why are you pointing to a 5-month old code in someones fork? |
Okay my fault. Should researches this better. Apparently this does not work for me. |
Okay, just because the most recent version is from Jul 12 and this has been just implemented 15 days ago. |
The next release will happen soon (likely this month or early September). |
I'd like to create a unified mypy cache for all my projects and store it in my home directory.
Moreover, I'd like other developers, as well as CI scripts, to do the same - storing cache in THEIR home directories on their local machines.
For that, I specify in mypy.ini:
[mypy]
cache_dir=~/.mypy_cache
But that's not working as mypy creates directory
~
in the current directory instead of creating.mypy_cache
in my home directory.I'm using mypy 0.670 from pip on Ubuntu.
The text was updated successfully, but these errors were encountered: