From 3439a2c10e1c5c5849ff1483ff29c8fb34603055 Mon Sep 17 00:00:00 2001 From: Dominik Muhs Date: Sat, 26 Oct 2019 12:45:26 +0200 Subject: [PATCH] Add docformatter to lintroll and tox CI check --- Makefile | 1 + tox.ini | 1 + 2 files changed, 2 insertions(+) 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]