We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
.mypy_cache
Bug Report
Depending on the existence of the cache, mypy can produce different errors.
To Reproduce
This issue can be reproduced using the spacy library.
spacy
docker run -it python:3.9-slim bash
pip install spacy==3.1.1 mypy==0.910
import spacy spacy.cli.download('en_core_web_sm')
mypy
[mypy] python_version = 3.9 strict = True show_error_codes = True pretty = True warn_unreachable = True
Expected Behavior
One would expect that mypy errors should not depend on the cache existence.
Actual Behavior
Run mypy .. This will produce the following report the first time:
mypy .
test.py:3: error: Module not callable [operator] spacy.cli.download('en_core_web_sm') ^ Found 1 error in 1 file (checked 1 source file)
The second time (when .mypy_cache exists) you'll get:
test.py:3: error: Module has no attribute "cli" [attr-defined] spacy.cli.download('en_core_web_sm') ^ Found 1 error in 1 file (checked 1 source file)
Your Environment
The text was updated successfully, but these errors were encountered:
Thanks, duplicate report, see #9852 (comment)
Sorry, something went wrong.
Fixed by #10937
No branches or pull requests
Bug Report
Depending on the existence of the cache, mypy can produce different errors.
To Reproduce
This issue can be reproduced using the
spacy
library.docker run -it python:3.9-slim bash
pip install spacy==3.1.1 mypy==0.910
mypy
configs:Expected Behavior
One would expect that mypy errors should not depend on the cache existence.
Actual Behavior
Run
mypy .
. This will produce the following report the first time:The second time (when
.mypy_cache
exists) you'll get:Your Environment
The text was updated successfully, but these errors were encountered: