Skip to content

Commit eb61e9f

Browse files
committed
fix(forks): tox
1 parent 36e4b74 commit eb61e9f

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

src/ethereum_test_forks/forks/helpers.py

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,16 @@
1-
"""
2-
Helpers used to return fork-specific values.
3-
"""
1+
"""Helpers used to return fork-specific values."""
42

53

64
def ceiling_division(a: int, b: int) -> int:
75
"""
8-
Calculates the ceil without using floating point.
9-
Used by many of the EVM's formulas
6+
Calculate the ceil without using floating point.
7+
Used by many of the EVM's formulas.
108
"""
119
return -(a // -b)
1210

1311

1412
def fake_exponential(factor: int, numerator: int, denominator: int) -> int:
15-
"""
16-
Used to calculate the blob gas cost.
17-
"""
13+
"""Calculate the blob gas cost."""
1814
i = 1
1915
output = 0
2016
numerator_accumulator = factor * denominator

0 commit comments

Comments
 (0)