Skip to content

Commit 03e7a31

Browse files
committed
types shadowing fixed
1 parent 8f872a0 commit 03e7a31

File tree

154 files changed

+181
-217
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

154 files changed

+181
-217
lines changed

docs/writing_tests/tutorials/state_transition.md

Lines changed: 1 addition & 1 deletion

docs/writing_tests/writing_a_new_test.md

Lines changed: 3 additions & 3 deletions

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ line-length = 99
129129
[tool.ruff.lint]
130130
select = ["E", "F", "B", "W", "I", "A", "N", "D", "C"]
131131
fixable = ["I", "B", "E", "F", "W", "D", "C"]
132-
ignore = ["D205", "D203", "D212", "D415", "C901", "A005"]
132+
ignore = ["D205", "D203", "D212", "D415", "C420", "C901"]
133133

134134
[tool.mypy]
135135
disable_error_code = ["import-untyped"]

src/cli/eest/make/templates/blockchain_test.py.j2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ from ethereum_test_tools import (
1414
Environment,
1515
Transaction,
1616
)
17-
from ethereum_test_tools.vm.opcode import Opcodes as Op
17+
from ethereum_test_vm import Opcodes as Op
1818

1919
REFERENCE_SPEC_GIT_PATH = "DUMMY/eip-DUMMY.md"
2020
REFERENCE_SPEC_VERSION = "DUMMY_VERSION"

src/cli/eest/make/templates/state_test.py.j2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import pytest
77

88
from ethereum_test_forks import Fork
99
from ethereum_test_tools import Account, Alloc, Environment, StateTestFiller, Transaction
10-
from ethereum_test_tools.vm.opcode import Opcodes as Op
10+
from ethereum_test_vm import Opcodes as Op
1111

1212
REFERENCE_SPEC_GIT_PATH = "DUMMY/eip-DUMMY.md"
1313
REFERENCE_SPEC_VERSION = "DUMMY_VERSION"

src/cli/gentest/request_manager.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
from config import EnvConfig
1616
from ethereum_test_base_types import Hash
1717
from ethereum_test_rpc import BlockNumberType, DebugRPC, EthRPC
18-
from ethereum_test_rpc.types import TransactionByHashResponse
18+
from ethereum_test_rpc.rpc_types import TransactionByHashResponse
1919
from ethereum_test_types import Environment
2020

2121

src/cli/gentest/test_context_providers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
from pydantic import BaseModel
2020

2121
from ethereum_test_base_types import Account, Hash
22-
from ethereum_test_rpc.types import TransactionByHashResponse
22+
from ethereum_test_rpc.rpc_types import TransactionByHashResponse
2323
from ethereum_test_tools import Environment, Transaction
2424

2525
from .request_manager import RPCRequest

src/cli/gentest/test_providers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
from pydantic import BaseModel
1818

1919
from ethereum_test_base_types import Account, Address, ZeroPaddedHexNumber
20-
from ethereum_test_rpc.types import TransactionByHashResponse
20+
from ethereum_test_rpc.rpc_types import TransactionByHashResponse
2121
from ethereum_test_types import Environment
2222

2323

src/cli/pytest_commands/pytest_ini_files/pytest-consume.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@ addopts =
88
-p pytest_plugins.concurrency
99
# disable pytest built-in logging entirely `-p no:logging`
1010
-p no:logging
11-
-p pytest_plugins.logging.logging
11+
-p pytest_plugins.custom_logging.plugin_logging
1212
-p pytest_plugins.consume.consume
1313
-p pytest_plugins.help.help

src/cli/pytest_commands/pytest_ini_files/pytest-execute-eth-config.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ python_files = *.py
66
addopts =
77
-p pytest_plugins.execute.eth_config.eth_config
88
-p pytest_plugins.help.help
9-
-p pytest_plugins.logging.logging
9+
-p pytest_plugins.custom_logging.plugin_logging
1010
-m "not eip_version_check"
1111
--tb short
1212
--dist loadscope

0 commit comments

Comments
 (0)