Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add black to web3/_utils/module_testing/ - Part 2 #2516

Merged
merged 2 commits into from
Jun 16, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .git-blame-ignore-revs
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@
39f4453c2fe31be58ae187669a3f355093bf9361
69f49ee1ffa8ca98d66d9b960976a490c846c82f
831ff0f64a6db983cc2695af803942091ea877a1
784ece4e96249027607e66b4ebceb3cfde268ce8
1 change: 1 addition & 0 deletions newsfragments/2516.misc.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Add Black linting to ``_utils/module_testing``
3 changes: 1 addition & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,7 @@ basepython=python
extras=linter
commands=
flake8 {toxinidir}/web3 {toxinidir}/ens {toxinidir}/ethpm {toxinidir}/tests --exclude {toxinidir}/ethpm/ethpm-spec
black {toxinidir}/ethpm {toxinidir}/web3/auto {toxinidir}/web3/utils --exclude {toxinidir}/ethpm/ethpm-spec --check
black {toxinidir}/web3/_utils --exclude {toxinidir}/web3/_utils/module_testing --check
black {toxinidir}/ethpm {toxinidir}/web3/auto {toxinidir}/web3/utils {toxinidir}/web3/_utils --exclude {toxinidir}/ethpm/ethpm-spec --check
isort --recursive --check-only --diff {toxinidir}/web3/ {toxinidir}/ens/ {toxinidir}/ethpm/ {toxinidir}/tests/
mypy -p web3 -p ethpm -p ens --config-file {toxinidir}/mypy.ini

Expand Down
2 changes: 1 addition & 1 deletion web3/_utils/module_testing/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
)
from .go_ethereum_txpool_module import ( # noqa: F401
GoEthereumAsyncTxPoolModuleTest,
GoEthereumTxPoolModuleTest
GoEthereumTxPoolModuleTest,
)
from .net_module import ( # noqa: F401
AsyncNetModuleTest,
Expand Down
Loading