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.
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_cacheBut that's not working as mypy creates directory
~in the current directory instead of creating.mypy_cachein my home directory.I'm using mypy 0.670 from pip on Ubuntu.