Skip to content

Commit

Permalink
[pre-commit.ci] pre-commit autoupdate (#375)
Browse files Browse the repository at this point in the history
* [pre-commit.ci] pre-commit autoupdate

updates:
- [github.com/abravalheri/validate-pyproject: v0.15 → v0.16](abravalheri/validate-pyproject@v0.15...v0.16)
- [github.com/psf/black: 23.12.1 → 24.1.1](psf/black@23.12.1...24.1.1)

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
  • Loading branch information
pre-commit-ci[bot] authored Jan 29, 2024
1 parent f147b16 commit a92de57
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
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

0 comments on commit a92de57

Please sign in to comment.