Skip to content

Commit cdbba4f

Browse files
committed
more lint
1 parent 3b1e66f commit cdbba4f

File tree

3 files changed

+8
-13
lines changed

3 files changed

+8
-13
lines changed

pyproject.toml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,12 +44,13 @@ dependencies = [
4444
"pyyaml>=6.0.2,<7",
4545
"types-pyyaml>=6.0.12.20240917,<7",
4646
"pytest-json-report>=1.5.0,<2",
47-
# TODO: bump questionary to a newer release, when it becomes available.
47+
# TODO: bump questionary to a newer release, when it becomes available.
4848
# The current release questionary 2.0.1 requires `prompt_toolkit = ">=2.0,<=3.0.36"`.
4949
# This conflicts with ipython; while not an EEST dependency, ipython a very useful tool:
5050
# https://ethereum.github.io/execution-spec-tests/main/dev/interactive_usage/
5151
"questionary @ git+https://github.com/tmbo/questionary@ff22aeae1cd9c1c734f14329934e349bec7873bc",
52-
"prompt_toolkit>=3.0.48,<4", # ensure we have a new enough version for ipython
52+
"prompt_toolkit>=3.0.48,<4", # ensure we have a new enough version for ipython
53+
"ruff>=0.8.2",
5354
]
5455

5556
[project.urls]
@@ -119,4 +120,4 @@ ignore = ["D205", "D203", "D212", "D415", "C901"]
119120

120121
[tool.mypy]
121122
mypy_path = ["src", "$MYPY_CONFIG_FILE_DIR/stubs"]
122-
plugins = ["pydantic.mypy"]
123+
plugins = ["pydantic.mypy"]

tests/frontier/opcodes/test_calldatacopy.py

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,8 @@
1-
"""_summary_
2-
test `CALLDATACOPY` opcode
3-
"""
1+
"""test `CALLDATACOPY` opcode."""
42

53
import pytest
64

7-
from ethereum_test_tools import (
8-
Account,
9-
Alloc,
10-
Bytecode,
11-
StateTestFiller,
12-
Transaction,
13-
)
5+
from ethereum_test_tools import Account, Alloc, Bytecode, StateTestFiller, Transaction
146
from ethereum_test_tools.vm.opcode import Opcodes as Op
157

168

uv.lock

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)