Skip to content

Commit

Permalink
style: put noqa directives on correct lines for flake8
Browse files Browse the repository at this point in the history
  • Loading branch information
danceratopz committed Sep 13, 2023
1 parent 0066dee commit 95d970b
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions tests/cancun/eip4844_blobs/test_excess_blob_gas.py
Original file line number Diff line number Diff line change
Expand Up @@ -158,9 +158,9 @@ def tx_gas_limit() -> int: # noqa: D103


@pytest.fixture
def tx_exact_cost(
def tx_exact_cost( # noqa: D103
tx_value: int, tx_max_fee_per_gas: int, tx_data_cost: int, tx_gas_limit: int
) -> int: # noqa: D103
) -> int:
return (tx_gas_limit * tx_max_fee_per_gas) + tx_value + tx_data_cost


Expand All @@ -176,9 +176,9 @@ def destination_account() -> str: # noqa: D103


@pytest.fixture
def pre(
def pre( # noqa: D103
destination_account: str, destination_account_bytecode: bytes, tx_exact_cost: int
) -> Mapping[str, Account]: # noqa: D103
) -> Mapping[str, Account]:
return {
TestAddress: Account(balance=tx_exact_cost),
TestAddress2: Account(balance=10**40),
Expand All @@ -187,9 +187,9 @@ def pre(


@pytest.fixture
def post(
def post( # noqa: D103
destination_account: str, tx_value: int, block_fee_per_blob_gas: int
) -> Mapping[str, Account]: # noqa: D103
) -> Mapping[str, Account]:
return {
destination_account: Account(
storage={0: block_fee_per_blob_gas},
Expand Down

0 comments on commit 95d970b

Please sign in to comment.