Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pre-commit.ci] pre-commit autoupdate #375

Merged
merged 2 commits into from
Jan 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ repos:
#

- repo: https://github.com/abravalheri/validate-pyproject
rev: v0.15
rev: v0.16
hooks:
- id: validate-pyproject
fail_fast: true
Expand Down Expand Up @@ -73,7 +73,7 @@ repos:

# Last modifier: Coding Standard
- repo: https://github.com/psf/black
rev: 23.12.1
rev: 24.1.1
hooks:
- id: black

Expand Down
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
Loading