Add docformatter to lintroll and tox CI check

This commit is contained in:
Dominik Muhs 2019-10-26 12:45:26 +02:00
parent bafdd8512d
commit 3439a2c10e
2 changed files with 2 additions and 0 deletions

View File

@ -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)

View File

@ -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]