Skip to content

Commit d5d6898

Browse files
committed
Add black to _utils folder except module_testing
1 parent 69f49ee commit d5d6898

30 files changed

+974
-811
lines changed

tox.ini

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ use_parentheses=True
2424
[flake8]
2525
max-line-length= 100
2626
exclude= venv*,.tox,docs,build
27-
ignore=W503
27+
ignore=E203,W503
2828

2929
[testenv]
3030
whitelist_externals=/usr/bin/make
@@ -65,6 +65,7 @@ extras=linter
6565
commands=
6666
flake8 {toxinidir}/web3 {toxinidir}/ens {toxinidir}/ethpm {toxinidir}/tests --exclude {toxinidir}/ethpm/ethpm-spec
6767
black {toxinidir}/ethpm {toxinidir}/web3/auto {toxinidir}/web3/utils --exclude {toxinidir}/ethpm/ethpm-spec --check
68+
black {toxinidir}/web3/_utils --exclude {toxinidir}/web3/_utils/module_testing --check
6869
isort --recursive --check-only --diff {toxinidir}/web3/ {toxinidir}/ens/ {toxinidir}/ethpm/ {toxinidir}/tests/
6970
mypy -p web3 -p ethpm -p ens --config-file {toxinidir}/mypy.ini
7071

0 commit comments

Comments
 (0)