chore(deps): update pre-commit hooks (#6194)
updates:
- [github.com/pre-commit/mirrors-clang-format: v23.1.0 → v23.1.2](https://github.com/pre-commit/mirrors-clang-format/compare/v23.1.0...v23.1.2)
- [github.com/astral-sh/ruff-pre-commit: v0.16.6 → v0.16.10](https://github.com/astral-sh/ruff-pre-commit/compare/v0.16.6...v0.16.10)
- [github.com/pre-commit/mirrors-mypy: v2.3.1 → v2.4.0](https://github.com/pre-commit/mirrors-mypy/compare/v2.3.1...v2.4.0)
- [github.com/adhtruong/mirrors-typos: v1.50.1 → v1.50.3](https://github.com/adhtruong/mirrors-typos/compare/v1.50.1...v1.50.3)
- [github.com/PyCQA/pylint: v4.0.8 → v4.1.2](https://github.com/PyCQA/pylint/compare/v4.0.8...v4.1.2)
- [github.com/python-jsonschema/check-jsonschema: 0.38.0 → 0.38.2](https://github.com/python-jsonschema/check-jsonschema/compare/0.38.0...0.38.2)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index d61e642..4a700bd 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -25,14 +25,14 @@
# Clang format the codebase automatically
- repo: https://github.com/pre-commit/mirrors-clang-format
- rev: "v23.1.0"
+ rev: "v23.1.2"
hooks:
- id: clang-format
types_or: [c++, c, cuda]
# Ruff, the Python auto-correcting linter/formatter written in Rust
- repo: https://github.com/astral-sh/ruff-pre-commit
- rev: v0.16.6
+ rev: v0.16.10
hooks:
- id: ruff-check
args: ["--fix", "--show-fixes"]
@@ -40,7 +40,7 @@
# Check static types with mypy
- repo: https://github.com/pre-commit/mirrors-mypy
- rev: "v2.3.1"
+ rev: "v2.4.0"
hooks:
- id: mypy
args: []
@@ -122,7 +122,7 @@
# Use mirror because pre-commit autoupdate confuses tags in the upstream repo.
# See https://github.com/crate-ci/typos/issues/390
- repo: https://github.com/adhtruong/mirrors-typos
- rev: "v1.50.1"
+ rev: "v1.50.3"
hooks:
- id: typos
args: []
@@ -149,14 +149,14 @@
# PyLint has native support - not always usable, but works for us
- repo: https://github.com/PyCQA/pylint
- rev: "v4.0.8"
+ rev: "v4.1.2"
hooks:
- id: pylint
files: ^pybind11
# Check schemas on some of our YAML files
- repo: https://github.com/python-jsonschema/check-jsonschema
- rev: 0.38.0
+ rev: 0.38.2
hooks:
- id: check-readthedocs
- id: check-github-workflows