A Pylint plugin that makes Pylint aware of the fields of protobuf-generated classes, preventing false positives like 'no-member' when accessing protobuf message attributes. Current version: 0.22.0. Released periodically, with the last release in 2021.
pip install pylint-protobufVerified import paths — ran on the pinned version, not inferred.
Load the plugin via Pylint's --load-plugins flag or config file to eliminate false positives on protobuf fields.
Ensure that your protobuf compilation includes --descriptor_set_out and that the generated descriptor files are deployed alongside the code.
Use 'pylint_protobuf' in your Pylint config or command line.
Upgrade to Python 3.6+ and Pylint 2.4+.