-
Notifications
You must be signed in to change notification settings - Fork 12
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
Basic example not working #53
Comments
Hi @danslinger, thanks for the report. It could very well be an integration issue on my end: if I remember correctly at the time of the last release (of pylint-protobuf) astroid/pylint didn't yet support Python 3.10 so I was unable to check this. I'll update my test environments and try to reproduce the issue you're seeing. |
Thanks for checking @nelfin . I neglected to mention I also did try this with a Python 3.8 virtual environment, and even stepped back a few versions of pylint (2.9 I think I tried). |
I wasn't able to reproduce this so there must be something extra that's different between our environments. It seems like your |
Yeah, the missing person.proto
person_pb2.py
protoc --version
readme.py
pylint --load-plugins=pylint_protobuf readme.py
Full pip freeze output
|
I am trying to get the basic example from the README to work. I created a fresh virtual environment using Python 3.10. Installed
pylint
,pylint-protobuf
andprotobuf
. The output of mypip freeze
is here:I created the
person.proto
file, ranprotoc python_out=. person.proto
and see my generatedperson_pb2.py
file in my workspace. I created areadme.py
file slightly different from the example:Then I run the command
pylint --load-plugins=pylint_protobuf readme.py
and get the following output:Since its the basic example it feels like a "me" problem, but I'm not sure where I'm running astray?
The text was updated successfully, but these errors were encountered: