Skip to content

Commit

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

updates:
- [github.com/astral-sh/ruff-pre-commit: v0.9.3 → v0.9.4](astral-sh/ruff-pre-commit@v0.9.3...v0.9.4)
- [github.com/psf/black: 24.10.0 → 25.1.0](psf/black@24.10.0...25.1.0)

* [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 Feb 3, 2025
1 parent 6baf2c4 commit 83ea903
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -66,14 +66,14 @@ repos:
args: [--py310-plus]

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.9.3
rev: v0.9.4
hooks:
- id: ruff
args: [--fix, --exit-non-zero-on-fix]

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

Expand Down
2 changes: 1 addition & 1 deletion tests/test_lift.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ class NOPLifter(GymratLifter):

lifter = NOPLifter(pyvex.ARCH_AMD64, 0)
# this should not throw an exception
block = lifter.lift("\x0F\x0Fa")
block = lifter.lift("\x0f\x0fa")
assert block.size == 2
assert block.instructions == 1
assert block.jumpkind == JumpKind.NoDecode
Expand Down

0 comments on commit 83ea903

Please sign in to comment.