mirror of
https://github.com/varun-r-mallya/py-libp2p.git
synced 2026-02-12 16:10:57 +00:00
A couple extra tweaks for black support
This commit is contained in:
3
tox.ini
3
tox.ini
@ -14,7 +14,7 @@ profile=black
|
|||||||
[flake8]
|
[flake8]
|
||||||
max-line-length= 100
|
max-line-length= 100
|
||||||
exclude= venv*,.tox,docs,build
|
exclude= venv*,.tox,docs,build
|
||||||
ignore=
|
extend-ignore= E203
|
||||||
|
|
||||||
[testenv]
|
[testenv]
|
||||||
usedevelop=True
|
usedevelop=True
|
||||||
@ -36,6 +36,7 @@ whitelist_externals=make
|
|||||||
[testenv:lint]
|
[testenv:lint]
|
||||||
basepython=python
|
basepython=python
|
||||||
extras=lint
|
extras=lint
|
||||||
|
whitelist_externals=black
|
||||||
commands=
|
commands=
|
||||||
mypy -p <MODULE_NAME> --config-file {toxinidir}/mypy.ini
|
mypy -p <MODULE_NAME> --config-file {toxinidir}/mypy.ini
|
||||||
flake8 {toxinidir}/<MODULE_NAME> {toxinidir}/tests
|
flake8 {toxinidir}/<MODULE_NAME> {toxinidir}/tests
|
||||||
|
|||||||
Reference in New Issue
Block a user