@@ -25,22 +25,22 @@ repos:
2525
2626# Clang format the codebase automatically
2727- repo : https://github.com/pre-commit/mirrors-clang-format
28- rev : " v18.1.2 "
28+ rev : " v18.1.5 "
2929 hooks :
3030 - id : clang-format
3131 types_or : [c++, c, cuda]
3232
3333# Ruff, the Python auto-correcting linter/formatter written in Rust
3434- repo : https://github.com/astral-sh/ruff-pre-commit
35- rev : v0.3 .5
35+ rev : v0.4 .5
3636 hooks :
3737 - id : ruff
3838 args : ["--fix", "--show-fixes"]
3939 - id : ruff-format
4040
4141# Check static types with mypy
4242- repo : https://github.com/pre-commit/mirrors-mypy
43- rev : " v1.9 .0"
43+ rev : " v1.10 .0"
4444 hooks :
4545 - id : mypy
4646 args : []
6262
6363# Standard hooks
6464- repo : https://github.com/pre-commit/pre-commit-hooks
65- rev : " v4.5 .0"
65+ rev : " v4.6 .0"
6666 hooks :
6767 - id : check-added-large-files
6868 - id : check-case-conflict
7979 exclude : \.patch?$
8080
8181# Also code format the docs
82- - repo : https://github.com/asottile /blacken-docs
82+ - repo : https://github.com/adamchainz /blacken-docs
8383 rev : " 1.16.0"
8484 hooks :
8585 - id : blacken-docs
@@ -121,11 +121,11 @@ repos:
121121# Use tools/codespell_ignore_lines_from_errors.py
122122# to rebuild .codespell-ignore-lines
123123- repo : https://github.com/codespell-project/codespell
124- rev : " v2.2.6 "
124+ rev : " v2.3.0 "
125125 hooks :
126126 - id : codespell
127127 exclude : " .supp$"
128- args : ["-x.codespell-ignore-lines", "-Lccompiler"]
128+ args : ["-x.codespell-ignore-lines", "-Lccompiler,intstruct "]
129129
130130# Check for common shell mistakes
131131- repo : https://github.com/shellcheck-py/shellcheck-py
@@ -144,13 +144,14 @@ repos:
144144
145145# PyLint has native support - not always usable, but works for us
146146- repo : https://github.com/PyCQA/pylint
147- rev : " v3.1.0 "
147+ rev : " v3.2.2 "
148148 hooks :
149149 - id : pylint
150150 files : ^pybind11
151151
152+ # Check schemas on some of our YAML files
152153- repo : https://github.com/python-jsonschema/check-jsonschema
153- rev : 0.28.1
154+ rev : 0.28.4
154155 hooks :
155156 - id : check-readthedocs
156157 - id : check-github-workflows
0 commit comments