From 04b7df9fcf6e852cbe540665ab8c2f0afaff5ebb Mon Sep 17 00:00:00 2001 From: mhchia Date: Wed, 24 Jul 2019 18:00:57 +0800 Subject: [PATCH] Lint `examples` in tox --- examples/__init__.py | 0 examples/chat/__init__.py | 0 tox.ini | 4 ++-- 3 files changed, 2 insertions(+), 2 deletions(-) create mode 100644 examples/__init__.py create mode 100644 examples/chat/__init__.py diff --git a/examples/__init__.py b/examples/__init__.py new file mode 100644 index 00000000..e69de29b diff --git a/examples/chat/__init__.py b/examples/chat/__init__.py new file mode 100644 index 00000000..e69de29b diff --git a/tox.ini b/tox.ini index dd582b29..10302ca1 100644 --- a/tox.ini +++ b/tox.ini @@ -19,5 +19,5 @@ basepython = basepython = python3 extras = dev commands = - pylint --rcfile={toxinidir}/.pylintrc libp2p tests - mypy -p libp2p --config-file {toxinidir}/mypy.ini + pylint --rcfile={toxinidir}/.pylintrc libp2p examples tests + mypy -p libp2p -p examples --config-file {toxinidir}/mypy.ini