Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

[3.13] Update pre-commit repos (GH-132792) #132804

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

Merged
merged 1 commit into from
Apr 22, 2025
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
[3.13] Update pre-commit repos (GH-132792)
(cherry picked from commit 87b1ea0)

Co-authored-by: sobolevn <mail@sobolevn.me>
  • Loading branch information
sobolevn committed Apr 22, 2025
commit af4f372b4e7ea702c6ad5b177f40436a1ec82b9c
4 changes: 4 additions & 0 deletions 4 .github/zizmor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,7 @@ rules:
dangerous-triggers:
ignore:
- documentation-links.yml
unpinned-uses:
config:
policies:
"*": ref-pin
6 changes: 3 additions & 3 deletions 6 .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
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/
Expand All @@ -20,7 +20,7 @@ repos:
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/jit/
Expand All @@ -41,7 +41,7 @@ repos:
types_or: [c, inc, python, rst]

- repo: https://github.com/woodruffw/zizmor-pre-commit
rev: v1.1.1
rev: v1.6.0
hooks:
- id: zizmor

Expand Down
6 changes: 3 additions & 3 deletions 6 Tools/jit/_stencils.py
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ def remove_jump(self, *, alignment: int = 1) -> None:
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,
Expand All @@ -248,7 +248,7 @@ def remove_jump(self, *, alignment: int = 1) -> None:
addend=-4,
) as hole:
# jmp 5
jump = b"\xE9\x00\x00\x00\x00"
jump = b"\xe9\x00\x00\x00\x00"
offset -= 1
case Hole(
offset=offset,
Expand All @@ -268,7 +268,7 @@ def remove_jump(self, *, alignment: int = 1) -> None:
) as hole:
assert _signed(addend) == -4
# jmp qword ptr [rip]
jump = b"\xFF\x25\x00\x00\x00\x00"
jump = b"\xff\x25\x00\x00\x00\x00"
offset -= 2
case _:
return
Expand Down
Loading
Morty Proxy This is a proxified and sanitized view of the page, visit original site.