Skip to content

Commit

Permalink
fix pyupgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
anvacaru committed Feb 1, 2025
1 parent bdf4544 commit 449e62b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions kevm-pyk/src/kevm_pyk/kevm.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@
from pyk.proof.show import APRProofNodePrinter

if TYPE_CHECKING:
from collections.abc import Iterable
from collections.abc import Callable, Iterable
from pathlib import Path
from typing import Callable, Final, Tuple
from typing import Final

from pyk.cterm import CTermSymbolic
from pyk.kast.inner import KAst, Subst
Expand All @@ -53,8 +53,8 @@
class KEVMSemantics(DefaultSemantics):
auto_abstract_gas: bool
allow_symbolic_program: bool
_custom_step_definitions: Tuple[
Tuple[KSequence, Callable[[Subst, CTerm, CTermSymbolic], KCFGExtendResult | None]], ...
_custom_step_definitions: tuple[
tuple[KSequence, Callable[[Subst, CTerm, CTermSymbolic], KCFGExtendResult | None]], ...
]

def __init__(self, auto_abstract_gas: bool = False, allow_symbolic_program: bool = False) -> None:
Expand Down

0 comments on commit 449e62b

Please sign in to comment.