dangerous-triggers:
ignore:
- documentation-links.yml
+ unpinned-uses:
+ config:
+ policies:
+ "*": ref-pin
repos:
- repo: https://github.com/astral-sh/ruff-pre-commit
- rev: v0.11.4
+ rev: v0.11.6
hooks:
- id: ruff
name: Run Ruff (lint) on Doc/
files: ^Doc/
- repo: https://github.com/psf/black-pre-commit-mirror
- rev: 24.10.0
+ rev: 25.1.0
hooks:
- id: black
name: Run Black on Tools/build/check_warnings.py
types_or: [c, inc, python, rst]
- repo: https://github.com/python-jsonschema/check-jsonschema
- rev: 0.31.0
+ rev: 0.33.0
hooks:
- id: check-dependabot
- id: check-github-workflows
- id: actionlint
- repo: https://github.com/woodruffw/zizmor-pre-commit
- rev: v1.1.1
+ rev: v1.6.0
hooks:
- id: zizmor
addend=-4,
) as hole:
# jmp qword ptr [rip]
- jump = b"\x48\xFF\x25\x00\x00\x00\x00"
+ jump = b"\x48\xff\x25\x00\x00\x00\x00"
offset -= 3
case Hole(
offset=offset,
value=HoleValue.CONTINUE,
symbol=None,
addend=addend,
- ) as hole if _signed(addend) == -4:
+ ) as hole if (
+ _signed(addend) == -4
+ ):
# jmp 5
- jump = b"\xE9\x00\x00\x00\x00"
+ jump = b"\xe9\x00\x00\x00\x00"
offset -= 1
case Hole(
offset=offset,
def _get_nop(self) -> bytes:
if re.fullmatch(r"aarch64-.*", self.triple):
- nop = b"\x1f\x20\x03\xD5"
+ nop = b"\x1f\x20\x03\xd5"
elif re.fullmatch(r"x86_64-.*|i686.*", self.triple):
nop = b"\x90"
else: