Hello everyone! Is there a way to make `./pants ch...
# general
Hello everyone! Is there a way to make
./pants check
behave equivalently to
mypy --install-types --non-interactive
? Reading through the past chats, I think the answer is no, but I just wanted to double check. I presume the current solution was put in place to create the pex environment. While is not bad, it would be nice if it can support install type stubs on the fly for minimal maintenance...
I tried this trick, but it doesn't solve the problem.
Copy code
args = ["--install-types", "--non-interactive"]
I presume it is because the pex environment is frozen or something like that. However this does work
Copy code
extra_type_stubs = ["types-PyYAML", "types-python-dateutil"]
It's just annoying to have to specify the extra type stubs and maintain the list...