File tree 3 files changed +8
-4
lines changed
3 files changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -50,11 +50,15 @@ repos:
50
50
stages : [manual] # Not automatically triggered, invoked via `pre-commit run --hook-stage manual clang-tidy`
51
51
52
52
- repo : https://github.com/astral-sh/ruff-pre-commit
53
- rev : v0.7.3
53
+ rev : v0.8.4
54
54
hooks :
55
55
- id : ruff
56
56
args : [--fix]
57
+ files : (\.py|SConstruct|SCsub)$
58
+ types_or : [text]
57
59
- id : ruff-format
60
+ files : (\.py|SConstruct|SCsub)$
61
+ types_or : [text]
58
62
59
63
- repo : https://github.com/pre-commit/mirrors-mypy
60
64
rev : v1.13.0
@@ -170,7 +174,7 @@ repos:
170
174
language : python
171
175
entry : python misc/scripts/header_guards.py
172
176
files : \.(h|hpp|hh|hxx)$
173
- exclude : ^.*/(thread|platform_config|platform_gl)\.h$
177
+ exclude : ^.*/(dummy| thread|platform_config|platform_gl)\.h$
174
178
175
179
- id : file-format
176
180
name : file-format
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ python_version = "3.8"
14
14
15
15
[tool .ruff ]
16
16
extend-exclude = [" thirdparty" ]
17
- extend-include = [" SConstruct" , " SCsub" ]
17
+ extend-include = [" * SConstruct" , " * SCsub" ]
18
18
line-length = 120
19
19
target-version = " py38"
20
20
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ thirdparty_obj = []
10
10
thirdparty_dir = "#thirdparty/misc/"
11
11
thirdparty_sources = [
12
12
"mikktspace.c" ,
13
- "qoa.c"
13
+ "qoa.c" ,
14
14
]
15
15
16
16
thirdparty_sources = [thirdparty_dir + file for file in thirdparty_sources ]
You can’t perform that action at this time.
0 commit comments