Add docformatter to lintroll and tox CI check
This commit is contained in:
parent
bafdd8512d
commit
3439a2c10e
1
Makefile
1
Makefile
|
@ -15,6 +15,7 @@ lintroll:
|
||||||
mypy -p libp2p -p examples --config-file mypy.ini
|
mypy -p libp2p -p examples --config-file mypy.ini
|
||||||
black --check $(FILES_TO_LINT)
|
black --check $(FILES_TO_LINT)
|
||||||
isort --recursive --check-only $(FILES_TO_LINT)
|
isort --recursive --check-only $(FILES_TO_LINT)
|
||||||
|
docformatter --pre-summary-newline --check --recursive $(FILES_TO_LINT)
|
||||||
flake8 $(FILES_TO_LINT)
|
flake8 $(FILES_TO_LINT)
|
||||||
|
|
||||||
protobufs: $(PY)
|
protobufs: $(PY)
|
||||||
|
|
1
tox.ini
1
tox.ini
|
@ -41,6 +41,7 @@ commands =
|
||||||
mypy -p libp2p -p examples --config-file {toxinidir}/mypy.ini
|
mypy -p libp2p -p examples --config-file {toxinidir}/mypy.ini
|
||||||
black --check libp2p tests tests_interop examples setup.py
|
black --check libp2p tests tests_interop examples setup.py
|
||||||
isort --recursive --check-only --diff 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
|
flake8 libp2p tests tests_interop examples setup.py
|
||||||
|
|
||||||
[testenv:py37-interop]
|
[testenv:py37-interop]
|
||||||
|
|
Loading…
Reference in New Issue
Block a user