rules-proto-grpc / rules_proto_grpc

Bazel rules for building Protobuf and gRPC code and libraries from proto_library targets
https://rules-proto-grpc.com
Apache License 2.0
256 stars 159 forks source link

[python] Generate .pyi stubs by default for .proto #352

Closed sjportalatin closed 2 weeks ago

sjportalatin commented 2 months ago

Create a plugin that will generate pyi_out for standard proto. As per this comment.

This creates pyi files by default. Might mess with existing implementations, so maybe I can change to a flag or something instead?

aaliddell commented 2 weeks ago

Thanks, I'll merge this, fix the diff error and will also make this opt-in rather than on by default