-
Notifications
You must be signed in to change notification settings - Fork 81
Invalid syntax error in generated .pyi file #80
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
Comments
Hi! Once it's out, you can do |
Ah, I see. Looking forward to the next release! |
With the new release I'm having the same issue with the |
woops! It appears to be missing from Comparing to https://www.programiz.com/python-programming/keyword-list - it's the only one missing. Going to go ahead and add it and kick a version of mypy-protobuf! Thanks for the catch! |
#91 should solve it! |
Hey! I've started using your plugin, and it's working to an extent that the type hints are picked up by my IDE, which is helpful.
When trying to run mypy on the command line I get this error however:
The relevant lines:
I'm using this command line to check the types:
where the
com
andfish
directories reside inside the same directory, andfish
is importing protobufs fromcom
.Before adding the
--namespace-packages
mypy did finish, but it didn't seem like it took the types of the protobufs into account.The protobufs are generated by
mypy version 0.701, Python 3.7.3
Any ideas?
The text was updated successfully, but these errors were encountered: