Skip to content

Commit 3506115

Browse files
committed
style: Correct linting
1 parent 3e8db62 commit 3506115

File tree

4 files changed

+13
-7
lines changed

4 files changed

+13
-7
lines changed

tests/fixtures/coins.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,10 +65,12 @@ def _deploy_wrapped(project, alice, pool_data, idx, underlying, aave_lending_poo
6565
name = coin_data.get("name", f"Coin {idx}")
6666
symbol = coin_data.get("name", f"C{idx}")
6767

68-
if pool_data['wrapped_contract'] == "ATokenMock":
69-
contract = deployer.deploy(name, symbol, decimals, underlying, aave_lending_pool, {'from': alice})
68+
if pool_data["wrapped_contract"] == "ATokenMock":
69+
contract = deployer.deploy(
70+
name, symbol, decimals, underlying, aave_lending_pool, {"from": alice}
71+
)
7072
else:
71-
contract = deployer.deploy(name, symbol, decimals, underlying, {'from': alice})
73+
contract = deployer.deploy(name, symbol, decimals, underlying, {"from": alice})
7274

7375
for target, attr in fn_names.items():
7476
if target != attr:

tests/pools/common/integration/test_curve.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,12 @@
44
import pytest
55
from brownie.test import given, strategy
66
from hypothesis import settings
7-
87
from simulation import Curve
98

10-
pytestmark = [pytest.mark.skip_meta, pytest.mark.skip_pool("aave", "aeth", "saave", "seth", "steth")]
9+
pytestmark = [
10+
pytest.mark.skip_meta,
11+
pytest.mark.skip_pool("aave", "aeth", "saave", "seth", "steth"),
12+
]
1113

1214

1315
@given(

tests/pools/common/unitary/test_modify_fees.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
MAX_ADMIN_FEE = 5 * 10 ** 9
66
MAX_FEE = 5 * 10 ** 9
77

8-
pytestmark = pytest.mark.skip_pool("aave", "saave","busd", "compound", "susd", "usdt", "y")
8+
pytestmark = pytest.mark.skip_pool("aave", "saave", "busd", "compound", "susd", "usdt", "y")
99

1010

1111
@pytest.mark.parametrize(

tests/pools/common/unitary/test_xfer_to_contract.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,9 @@ def __init__(swap: address):
2929
assert sum(get_admin_balances()) == 0
3030

3131

32-
@pytest.mark.skip_pool("aave", "steth", "saave",reason="Aave-style interest accrues by increasing balance")
32+
@pytest.mark.skip_pool(
33+
"aave", "steth", "saave", reason="Aave-style interest accrues by increasing balance"
34+
)
3335
def test_unexpected_coin(swap, alice, bob, get_admin_balances, wrapped_coins):
3436
virtual_price = swap.get_virtual_price()
3537

0 commit comments

Comments
 (0)