Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Jan 29, 2024
1 parent 9635ab5 commit a3508ce
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
1 change: 1 addition & 0 deletions pyvex/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 2 additions & 4 deletions pyvex/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a3508ce

Please sign in to comment.