diff --git a/Makefile b/Makefile index e5fc3a6..da54ffc 100644 --- a/Makefile +++ b/Makefile @@ -15,6 +15,7 @@ lintroll: mypy -p libp2p -p examples --config-file mypy.ini black --check $(FILES_TO_LINT) isort --recursive --check-only $(FILES_TO_LINT) + docformatter --pre-summary-newline --check --recursive $(FILES_TO_LINT) flake8 $(FILES_TO_LINT) protobufs: $(PY) diff --git a/tox.ini b/tox.ini index a22cb89..3fc294a 100644 --- a/tox.ini +++ b/tox.ini @@ -41,6 +41,7 @@ commands = mypy -p libp2p -p examples --config-file {toxinidir}/mypy.ini black --check libp2p tests tests_interop examples setup.py isort --recursive --check-only --diff libp2p tests tests_interop examples setup.py + docformatter --pre-summary-newline --check --recursive libp2p tests tests_interop examples setup.py flake8 libp2p tests tests_interop examples setup.py [testenv:py37-interop]