Skip to content

Commit

Permalink
chore: lintiest
Browse files Browse the repository at this point in the history
  • Loading branch information
bitwise-constructs committed Dec 4, 2024
1 parent 2fd8d61 commit befdc7e
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
6 changes: 4 additions & 2 deletions evm_trace/vmtrace.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
from __future__ import annotations

import sys

if sys.version_info < (3, 13):
from __future__ import annotations

from collections.abc import Iterator
from typing import Any
Expand Down Expand Up @@ -176,7 +177,8 @@ def dec_hook(type: type, obj: Any) -> Any:

def from_rpc_response(buffer: bytes) -> VMTrace | list[VMTrace]:
"""
Decode structured data from raw `trace_replayTransaction` or `trace_replayBlockTransactions`
Decode structured data from a raw `trace_replayTransaction` or
`trace_replayBlockTransactions`.
"""
response = Decoder(RPCResponse, dec_hook=dec_hook).decode(buffer)
result: list[RPCTraceResult] | RPCTraceResult = response.result
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[build-system]
requires = ["setuptools>=51.1.1", "wheel", "setuptools_scm[toml]>=5.0"]
requires = ["setuptools>=75.6.0", "wheel", "setuptools_scm[toml]>=5.0"]

[tool.mypy]
exclude = "build/"
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"mdformat-pyproject>=0.0.1", # Allows configuring in pyproject.toml
],
"release": [ # `release` GitHub Action job uses this
"setuptools", # Installation tool
"setuptools>=75.6.0", # Installation tool
"wheel", # Packaging tool
"twine", # Package upload tool
],
Expand Down

0 comments on commit befdc7e

Please sign in to comment.