Skip to content

Commit ec068d9

Browse files
committed
fix
1 parent 70427be commit ec068d9

File tree

29 files changed

+47
-45
lines changed

29 files changed

+47
-45
lines changed

.github/scripts/generate_eip_report.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111

1212
# Report template using textwrap.dedent for clean multiline strings
1313
REPORT_TEMPLATE = Template(
14-
textwrap.dedent(\
15-
"""\
14+
textwrap.dedent(
15+
"""\
1616
# EIP Version Check Report
1717
1818
This automated check has detected that some EIP references in test files are outdated. This means that the EIPs have been updated in the [ethereum/EIPs](https://github.com/ethereum/EIPs) repository since our tests were last updated.
@@ -46,8 +46,8 @@
4646
## Workflow Information
4747
4848
For more details, see the [workflow run](https://github.com/ethereum/execution-spec-tests/actions/runs/$run_id).
49-
"""\
50-
) # noqa: E501
49+
"""
50+
) # noqa: E501
5151
)
5252

5353

src/cli/eest/cli.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@
1414
def eest():
1515
"""`eest` is a CLI tool that helps with routine tasks."""
1616
pass
17-
\
17+
18+
1819
"""################################ || || || Command
1920
Registration || || ||
2021
################################

src/cli/eest/make/cli.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@
1818
def make():
1919
"""Generate project files."""
2020
pass
21-
\
21+
22+
2223
"""################################ || || || Command
2324
Registration || || ||
2425
################################

src/cli/fillerconvert/verify_filled.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ class StateTest(BaseModel):
3131
class FilledStateTest(RootModel[dict[str, StateTest]]):
3232
"""State Test Wrapper."""
3333

34+
3435
def verify_refilled(refilled: Path, original: Path) -> int:
3536
"""
3637
Verify post hash of the refilled test against original:

src/cli/generate_checklist_stubs.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,8 +106,7 @@ def generate_checklist_stubs(output: str | None, dry_run: bool) -> None:
106106

107107
from ethereum_test_checklists.eip_checklist import EIPChecklist
108108

109-
stub_content =\
110-
'''"""
109+
stub_content = '''"""
111110
Type stubs for EIP checklist - auto-generated.
112111
113112
DO NOT EDIT MANUALLY - This file is generated by `uv run generate_checklist_stubs`

src/cli/gentest/test_context_providers.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ class Provider(ABC, BaseModel):
3131
@abstractmethod
3232
def get_context(self) -> Dict:
3333
"""Get the context for generating a test."""
34+
3435
pass
3536

3637

src/ethereum_test_base_types/tests/test_reference_spec.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,7 @@
1010

1111
# the content field from https://api.github.com/repos/ethereum/EIPs/contents/EIPS/eip-100.md
1212
# as of 2023-08-29
13-
response_content =\
14-
"LS0tCmVpcDogMTAwCnRpdGxlOiBDaGFuZ2UgZGlmZmljdWx0eSBhZGp1c3Rt\
13+
response_content = "LS0tCmVpcDogMTAwCnRpdGxlOiBDaGFuZ2UgZGlmZmljdWx0eSBhZGp1c3Rt\
1514
ZW50IHRvIHRhcmdldCBtZWFuIGJsb2NrIHRpbWUgaW5jbHVkaW5nIHVuY2xl\
1615
cwphdXRob3I6IFZpdGFsaWsgQnV0ZXJpbiAoQHZidXRlcmluKQp0eXBlOiBT\
1716
dGFuZGFyZHMgVHJhY2sKY2F0ZWdvcnk6IENvcmUKc3RhdHVzOiBGaW5hbApj\

src/ethereum_test_exceptions/exceptions.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -369,6 +369,7 @@ class TransactionException(ExceptionBase):
369369
TYPE_4_TX_PRE_FORK = auto()
370370
"""Transaction type 4 included before activation fork."""
371371

372+
372373
@unique
373374
class BlockException(ExceptionBase):
374375
"""
@@ -586,6 +587,7 @@ class BlockException(ExceptionBase):
586587
the layout of the event does not match the required layout.
587588
"""
588589

590+
589591
@unique
590592
class EOFException(ExceptionBase):
591593
"""Exception raised when an EOF container is invalid."""
@@ -747,7 +749,7 @@ class EOFException(ExceptionBase):
747749
EOFCREATE_WITH_TRUNCATED_CONTAINER = auto()
748750
"""EOFCREATE with truncated container."""
749751

750-
\
752+
751753
"""
752754
Pydantic Annotated Types
753755
"""

src/ethereum_test_exceptions/exceptions/block.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,4 +221,3 @@ class BlockException(ExceptionBase):
221221
Transaction emits a `DepositEvent` in the deposit contract (EIP-6110), but
222222
the layout of the event does not match the required layout.
223223
"""
224-

src/ethereum_test_exceptions/exceptions/eof.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,4 +173,3 @@ class EOFException(ExceptionBase):
173173

174174
EOFCREATE_WITH_TRUNCATED_CONTAINER = auto()
175175
"""EOFCREATE with truncated container."""
176-

0 commit comments

Comments
 (0)