Carl Meyer
Carl Meyer
Thanks for the suggestion! This does seem like it would be preferable in an ideal world, though I'm not sure it'll be worth the added complexity. Might not be too...
Yes, MonkeyType doesn't currently support nested classes. You should still be able to get a stub for the rest of the module? This is #8, but I'm closing that one...
I would guess the code actually still works, MonkeyType just throws a lot of noisy errors where it can't collect a trace. It looks like `inspect.getattr_static` in the stdlib, which...
Because OrderedDict is generic in typeshed, it is possible to specify key and value types for it, but only if you use a stringified annotation so it isn't evaluated at...
IMO the preferred solution here would be one where it's possible to write a `TypeRewriter` that could emit a stringified `OrderedDict` annotation (with key/value types) or one that could emit...
It would probably make sense for us to just always add all new imports inside an `if TYPE_CHECKING` block, right? By definition they are typecheck-only imports. That would solve this...
> I need to put the B annotation in a string to make it work. Good point. This will no longer be necessary with Python 3.7 if you use `from...
I'm not going to be able to add that option anytime soon, but I would be happy to review pull requests for it.
Yes, our documentation is mostly reference-style, and MonkeyType's configuration is very flexible to handle many different possible situations. We could do better with tutorial-style walk-through documentation for typical cases, including...
Thanks for the report! Retype has a useful error message here, for some reason it's not getting piped through to monkeytype output like it should. Filed #49 for that issue....