mirror of
https://github.com/varun-r-mallya/py-libp2p.git
synced 2025-12-31 20:36:24 +00:00
Add docformatter to lintroll and tox CI check
This commit is contained in:
1
Makefile
1
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)
|
||||
|
||||
1
tox.ini
1
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]
|
||||
|
||||
Reference in New Issue
Block a user