Add mypy protobufs plugin and regenerate protobufs

This commit is contained in:
Alex Stokes
2019-08-15 16:01:44 -07:00
parent 125c5d8e2c
commit 0f81ca42a6
4 changed files with 131 additions and 46 deletions

View File

@ -11,5 +11,5 @@ lintroll:
flake8 $(FILES_TO_LINT)
protobufs:
cd libp2p/crypto/pb && protoc --python_out=. crypto.proto
cd libp2p/pubsub/pb && protoc --python_out=. rpc.proto
cd libp2p/crypto/pb && protoc --python_out=. --mypy_out=. crypto.proto
cd libp2p/pubsub/pb && protoc --python_out=. --mypy_out=. rpc.proto