2019-08-03 01:52:53 +08:00
|
|
|
lintroll:
|
|
|
|
# NOTE: disabling `mypy` until we get typing sorted in this repo
|
|
|
|
# mypy -p libp2p -p examples --config-file {toxinidir}/mypy.ini
|
|
|
|
black --check examples libp2p/__init__.py libp2p/host libp2p/kademlia libp2p/network libp2p/peer libp2p/protocol_muxer libp2p/pubsub/*.py libp2p/routing libp2p/security libp2p/stream_muxer libp2p/transport tests setup.py
|
2019-08-03 03:20:48 +08:00
|
|
|
|
|
|
|
protobufs:
|
|
|
|
cd libp2p/pubsub/pb && protoc --python_out=. rpc.proto
|
|
|
|
cd libp2p/pubsub/pb && python -m grpc_tools.protoc -I. --python_out=. --grpc_python_out=. rpc.proto
|