Add isort
to CI check
This commit is contained in:
parent
d78e6dbf04
commit
a92d933ed2
1
Makefile
1
Makefile
|
@ -2,6 +2,7 @@ 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
|
||||
isort --recursive --check-only 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
|
||||
|
||||
protobufs:
|
||||
cd libp2p/pubsub/pb && protoc --python_out=. rpc.proto
|
||||
|
|
Loading…
Reference in New Issue
Block a user