Skip to content

Commit 40f9b0d

Browse files
committed
Revert non-JIT changes
1 parent ec80e9b commit 40f9b0d

File tree

2 files changed

+10
-5
lines changed

2 files changed

+10
-5
lines changed

.pre-commit-config.yaml

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
repos:
22
- repo: https://github.com/astral-sh/ruff-pre-commit
3-
rev: v0.11.7
3+
rev: v0.11.8
44
hooks:
55
- id: ruff
66
name: Run Ruff (lint) on Doc/
@@ -22,15 +22,19 @@ repos:
2222
name: Run Ruff (format) on Doc/
2323
args: [--check]
2424
files: ^Doc/
25-
- id: ruff-format
26-
name: Run Ruff (format) on Tools/build/check_warnings.py
27-
args: [--check, --config=Tools/build/.ruff.toml]
28-
files: ^Tools/build/check_warnings.py
2925
- id: ruff-format
3026
name: Run Ruff (format) on Tools/jit/
3127
args: [--check, --config=Tools/jit/.ruff.toml]
3228
files: ^Tools/jit/
3329

30+
- repo: https://github.com/psf/black-pre-commit-mirror
31+
rev: 25.1.0
32+
hooks:
33+
- id: black
34+
name: Run Black on Tools/build/check_warnings.py
35+
files: ^Tools/build/check_warnings.py
36+
args: [--line-length=79]
37+
3438
- repo: https://github.com/pre-commit/pre-commit-hooks
3539
rev: v5.0.0
3640
hooks:

Tools/build/check_warnings.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,7 @@ def get_unexpected_warnings(
151151
"""
152152
unexpected_warnings = {}
153153
for file in files_with_warnings.keys():
154+
154155
rule = is_file_ignored(file, ignore_rules)
155156

156157
if rule:

0 commit comments

Comments
 (0)