pylint-protobuf icon indicating copy to clipboard operation
pylint-protobuf copied to clipboard

A plugin for making Pylint aware of the fields of protobuf-generated classes

Results 5 pylint-protobuf issues
Sort by recently updated
recently updated
newest added

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 `and `protobuf`. The output of...

Here is my proto ```proto syntax = "proto3"; message Foo { enum Bar { BAR_0 = 0; BAR_1 = 1; } int32 foo_2 = 2; Bar foo_bar = 3; }...

# Summary Enabling pylint-protobuf can lead to useless suppression triggering for places where it disables an error that it checks when pylint wouldn't have flagged it anyway. I'm mainly seeing...

Closes #55. One line change but I'm happy to add a test case if you would like. Manually tested on my codebase that it removes false positives I was hitting.

Working with `_pb2` implementations was always going to be fragile and it looks like the descriptor hooks changed in in protobuf 3.20.0, see protocolbuffers/protobuf#10372. This is likely the underlying cause...