@@ -24,7 +24,7 @@ exclude: ^tools/JoinPaths.cmake$
24
24
repos :
25
25
# Standard hooks
26
26
- repo : https://github.com/pre-commit/pre-commit-hooks
27
- rev : " v4.3 .0"
27
+ rev : " v4.4 .0"
28
28
hooks :
29
29
- id : check-added-large-files
30
30
- id : check-case-conflict
41
41
42
42
# Upgrade old Python syntax
43
43
- repo : https://github.com/asottile/pyupgrade
44
- rev : " v3.2 .0"
44
+ rev : " v3.3 .0"
45
45
hooks :
46
46
- id : pyupgrade
47
47
args : [--py36-plus]
80
80
81
81
# Autoremoves unused imports
82
82
- repo : https://github.com/hadialqattan/pycln
83
- rev : " v2.1.1 "
83
+ rev : " v2.1.2 "
84
84
hooks :
85
85
- id : pycln
86
86
stages : [manual]
@@ -108,15 +108,15 @@ repos:
108
108
109
109
# Flake8 also supports pre-commit natively (same author)
110
110
- repo : https://github.com/PyCQA/flake8
111
- rev : " 5 .0.4 "
111
+ rev : " 6 .0.0 "
112
112
hooks :
113
113
- id : flake8
114
114
exclude : ^(docs/.*|tools/.*)$
115
115
additional_dependencies : *flake8_dependencies
116
116
117
117
# PyLint has native support - not always usable, but works for us
118
118
- repo : https://github.com/PyCQA/pylint
119
- rev : " v2.15.5 "
119
+ rev : " v2.15.8 "
120
120
hooks :
121
121
- id : pylint
122
122
files : ^pybind11
@@ -132,7 +132,7 @@ repos:
132
132
133
133
# Check static types with mypy
134
134
- repo : https://github.com/pre-commit/mirrors-mypy
135
- rev : " v0.982 "
135
+ rev : " v0.991 "
136
136
hooks :
137
137
- id : mypy
138
138
args : []
@@ -141,7 +141,7 @@ repos:
141
141
142
142
# Checks the manifest for missing files (native support)
143
143
- repo : https://github.com/mgedmin/check-manifest
144
- rev : " 0.48 "
144
+ rev : " 0.49 "
145
145
hooks :
146
146
- id : check-manifest
147
147
# This is a slow hook, so only run this if --hook-stage manual is passed
@@ -175,7 +175,7 @@ repos:
175
175
176
176
# Clang format the codebase automatically
177
177
- repo : https://github.com/pre-commit/mirrors-clang-format
178
- rev : " v14 .0.6 "
178
+ rev : " v15 .0.4 "
179
179
hooks :
180
180
- id : clang-format
181
181
types_or : [c++, c, cuda]
0 commit comments