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
Error analyzing spacy #10542
Comments
@ZeeD Running this myself, (with some tweaked logging in my local mypy), the issue was because mypy was having issues resolving I was able to resolve it within your code by changing to the two imports of As well I'll submit a PR to mypy to help these become easier to find later. |
…rNode when assertion fails
Helps with #10542 Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com> Co-authored-by: hauntsaninja <>
just a note: the only code that is "mine" is the |
Ahh. Sorry for assuming. 😂 Not sure if they would be open to PRs but this would be an easy contribution (and more likely to actually get fixed) if you wanted to submit a PR to them. |
I followed your suggestion an made the PR (that was merged! yay!) |
Bug Report
mypy
hangs and (after a long time) report an error trying to analyze code using spacyTo Reproduce
I'm using latest versions of spacy and mypy. Analyzing in strict mode raise an AssertionError inside mypy
I'm on windows 10 (20H2), using python and this is my setup:
mypy foo.py
should return "Success: no issues found in 1 source file
" as espected from the content of the fileThe text was updated successfully, but these errors were encountered: