Skip to content

Commit f5ff484

Browse files
committed
chore: fix linting.
1 parent 66eac31 commit f5ff484

File tree

4 files changed

+7
-6
lines changed

4 files changed

+7
-6
lines changed

src/ethereum_test_forks/forks/forks.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -196,9 +196,9 @@ def fn(
196196
return_cost_deducted_prior_execution: bool = False,
197197
) -> int:
198198
assert access_list is None, f"Access list is not supported in {cls.name()}"
199-
assert (
200-
authorization_list_or_count is None
201-
), f"Authorizations are not supported in {cls.name()}"
199+
assert authorization_list_or_count is None, (
200+
f"Authorizations are not supported in {cls.name()}"
201+
)
202202
intrinsic_cost: int = gas_costs.G_TRANSACTION
203203

204204
if contract_creation:

tests/speculative/eip7692_eof_v1/eip7069_extcall/test_calls.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -375,7 +375,8 @@ def test_eof_calls_eof_mstore(
375375
# `blake2f`` is chosen for the test because it fails unless args_size == 213, which is what we are
376376
# interested in.
377377
blake2f = Address(0x09)
378-
# `p256verify` / RIP-7212 has been in and out of prague and speculative. Hence we need to test explicitly
378+
# `p256verify` / RIP-7212 has been in and out of prague and speculative.
379+
# Hence we need to test explicitly
379380
p256verify = Address(0x100)
380381

381382

tests/speculative/eip7692_eof_v1/eip7620_eof_create/test_eofcreate_failures.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -670,7 +670,7 @@ def test_eof_eofcreate_msg_depth(
670670
for more explanations and comments. Most notable deviation from that test is that here
671671
calls and `EOFCREATE`s alternate in order to reach the max depth. `who_fails` decides
672672
whether the failing depth 1024 will be on a call or on an `EOFCREATE` to happen.
673-
"""
673+
""" # noqa: E501
674674
# Not a precise gas_limit formula, but enough to exclude risk of gas causing the failure.
675675
gas_limit = int(20000000 * (64 / 63) ** 1024)
676676
env = Environment(gas_limit=gas_limit)

tests/speculative/eip7692_eof_v1/eip7873_tx_create/test_txcreate_failures.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -632,7 +632,7 @@ def test_eof_txcreate_msg_depth(
632632
for more explanations and comments. Most notable deviation from that test is that here
633633
calls and `TXCREATE`s alternate in order to reach the max depth. `who_fails` decides
634634
whether the failing depth 1024 will be on a call or on an `TXCREATE` to happen.
635-
"""
635+
""" # noqa: E501
636636
# Not a precise gas_limit formula, but enough to exclude risk of gas causing the failure.
637637
gas_limit = int(20000000 * (64 / 63) ** 1024)
638638
env = Environment(gas_limit=gas_limit)

0 commit comments

Comments
 (0)