has anyone used `types-protobuf` with mypy with pa...
# general
a
has anyone used
types-protobuf
with mypy with pants? How do you make
./pants check
aware of it?
f
I have it enabled. Please see https://www.pantsbuild.org/docs/protobuf-python Just add this to your `pants.toml`:
Copy code
[python-protobuf]
mypy_plugin = true
šŸ­ 1
šŸ™ 1
a
Iā€™m using it but my protobuf generated code is still getting mypy complaints.
f
I wonder how the pb2 Python modules are generated ā€” are there the
.pyi
files (stubs) aside them?