Add black check to CI

This commit is contained in:
Alex Stokes 2019-07-31 14:53:39 -07:00
parent 936369aa5e
commit a2133d8c7c
No known key found for this signature in database
GPG Key ID: 51CE1721B245C086

View File

@ -22,3 +22,4 @@ commands =
# TODO: Add the tests/ folder back to pylint
pylint --rcfile={toxinidir}/.pylintrc libp2p examples
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