Skip to content

mypy --install-types Usability Issue #15704

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

Closed
12rambau opened this issue Jul 18, 2023 · 1 comment
Closed

mypy --install-types Usability Issue #15704

12rambau opened this issue Jul 18, 2023 · 1 comment
Labels
bug mypy got something wrong topic-usability

Comments

@12rambau
Copy link

Bug Report

When no .mypy_cache folder exists and a user runs mypy --install-types --non-interactive ./, mypy may fail on fundamental Python issues but suggest that the failure was because of "no mypy cache directory," confusing the user.

To Reproduce

follow the instructions from this repository (thatactually saved me from countless hours of search): https://github.com/tk-woven/mypy-install-types-mre

Expected Behavior

Get a meaningful error (in my case the folder argument was not existing)

@12rambau 12rambau added the bug mypy got something wrong label Jul 18, 2023
@hauntsaninja
Copy link
Collaborator

Duplicate of #10863 / #10768

@hauntsaninja hauntsaninja closed this as not planned Won't fix, can't repro, duplicate, stale Nov 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug mypy got something wrong topic-usability
Projects
None yet
Development

No branches or pull requests

3 participants