File tree Expand file tree Collapse file tree 2 files changed +10
-5
lines changed
Expand file tree Collapse file tree 2 files changed +10
-5
lines changed Original file line number Diff line number Diff line change 11repos :
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 :
Original file line number Diff line number Diff 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 :
You can’t perform that action at this time.
0 commit comments