Disables mypy
in CI
Also moves linting to Makefile to take advantage of globbing.
This commit is contained in:
parent
612330d318
commit
da9d5cadec
4
Makefile
Normal file
4
Makefile
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
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
|
4
tox.ini
4
tox.ini
|
@ -18,6 +18,6 @@ basepython =
|
||||||
[testenv:lint]
|
[testenv:lint]
|
||||||
basepython = python3
|
basepython = python3
|
||||||
extras = dev
|
extras = dev
|
||||||
|
whitelist_externals = make
|
||||||
commands =
|
commands =
|
||||||
mypy -p libp2p -p examples --config-file {toxinidir}/mypy.ini
|
make lintroll
|
||||||
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
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user