From a3508ced58415689dadf9b07540be544d51e546b Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 29 Jan 2024 17:41:08 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- pyvex/__init__.py | 1 + pyvex/types.py | 6 ++---- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/pyvex/__init__.py b/pyvex/__init__.py index 22703f4a..bbddbe85 100644 --- a/pyvex/__init__.py +++ b/pyvex/__init__.py @@ -2,6 +2,7 @@ PyVEX provides an interface that translates binary code into the VEX intermediate representation (IR). For an introduction to VEX, take a look here: https://docs.angr.io/advanced-topics/ir """ + __version__ = "9.2.87.dev0" from . import const, expr, stmt diff --git a/pyvex/types.py b/pyvex/types.py index c7c42314..09331f7c 100644 --- a/pyvex/types.py +++ b/pyvex/types.py @@ -25,11 +25,9 @@ class Arch(Protocol): register_list: List[Register] registers: Dict[str, Tuple[int, int]] - def translate_register_name(self, offset: int, size: Optional[int] = None) -> Optional[str]: - ... + def translate_register_name(self, offset: int, size: Optional[int] = None) -> Optional[str]: ... - def get_register_offset(self, name: str) -> int: - ... + def get_register_offset(self, name: str) -> int: ... @runtime_checkable