removed flake8 warnings and whitelisted some warnings in the tox.ini file

This commit is contained in:
Jürgen Eckel 2022-01-26 14:00:31 +01:00
parent 46dea0321c
commit a41277acee
11 changed files with 23 additions and 18 deletions

View File

@ -38,11 +38,13 @@ def test_eventify_block_works_with_any_transaction():
block = {'height': 1,
'transactions': [tx, tx_transfer]}
expected_events = [{
expected_events = [
{
'height': 1,
'asset_id': tx.id,
'transaction_id': tx.id
}, {
},
{
'height': 1,
'asset_id': tx_transfer.asset['id'],
'transaction_id': tx_transfer.id

View File

@ -24,6 +24,9 @@ skip_install = True
extras = None
commands = flake8 planetmint tests
[flake8]
ignore = E126 E127 W504 E302 E126 E305
[testenv:docsroot]
basepython = {[base]basepython}
changedir = docs/root/source