-
Notifications
You must be signed in to change notification settings - Fork 13
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
INTERNAL ERROR when enabling mypy-zope for Twisted Klein #37
Comments
It appears that the cause of the problem here is that we have this nested class that defines the interface. The |
As I understand, it fails on this file: https://github.com/twisted/klein/blob/master/src/klein/test/test_trial.py. Can you try moving |
I see, this makes sense. I'm not exactly sure how to support this case, but I'll try to at least avoid this catastrophic failure. |
Thanks. I don't know if it's hard to detect this case, but an error suggestion that perhaps you defined an interface in a non-module scope might help others from having to chase this down. |
@wsanchez, released 0.2.12 with the fix. |
Verified fixed, thanks! |
In commit twisted/klein@04a536c, I enabled
mypy-zope
for Twisted Klein and I'm getting an INTERNAL ERROR in the build.Here is the error with
--show-traceback
added:The text was updated successfully, but these errors were encountered: