mirror of
https://github.com/angr/pyvex
synced 2026-06-21 13:47:01 +00:00
[pre-commit.ci] pre-commit autoupdate (#453)
* [pre-commit.ci] pre-commit autoupdate updates: - [github.com/astral-sh/ruff-pre-commit: v0.9.3 → v0.9.4](https://github.com/astral-sh/ruff-pre-commit/compare/v0.9.3...v0.9.4) - [github.com/psf/black: 24.10.0 → 25.1.0](https://github.com/psf/black/compare/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>
This commit is contained in:
committed by
GitHub
parent
6baf2c42c5
commit
83ea90305b
@@ -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
|
||||
|
||||
|
||||
+1
-1
@@ -26,7 +26,7 @@ class TestLift(unittest.TestCase):
|
||||
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user