mirror of
https://github.com/varun-r-mallya/py-libp2p.git
synced 2025-12-31 20:36:24 +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]
|
||||
max-line-length= 100
|
||||
exclude= venv*,.tox,docs,build
|
||||
ignore=
|
||||
extend-ignore= E203
|
||||
|
||||
[testenv]
|
||||
usedevelop=True
|
||||
@ -36,6 +36,7 @@ whitelist_externals=make
|
||||
[testenv:lint]
|
||||
basepython=python
|
||||
extras=lint
|
||||
whitelist_externals=black
|
||||
commands=
|
||||
mypy -p <MODULE_NAME> --config-file {toxinidir}/mypy.ini
|
||||
flake8 {toxinidir}/<MODULE_NAME> {toxinidir}/tests
|
||||
|
||||
Reference in New Issue
Block a user