chore(deps): update pre-commit hooks (#6099)
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.15.15 → v0.15.20](https://github.com/astral-sh/ruff-pre-commit/compare/v0.15.15...v0.15.20)
- [github.com/adhtruong/mirrors-typos: v1.47.0 → v1.48.0](https://github.com/adhtruong/mirrors-typos/compare/v1.47.0...v1.48.0)
- [github.com/PyCQA/pylint: v4.0.5 → v4.0.6](https://github.com/PyCQA/pylint/compare/v4.0.5...v4.0.6)
- [github.com/python-jsonschema/check-jsonschema: 0.37.2 → 0.37.4](https://github.com/python-jsonschema/check-jsonschema/compare/0.37.2...0.37.4)
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 eadd34b..aff6954 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -32,7 +32,7 @@
# Ruff, the Python auto-correcting linter/formatter written in Rust
- repo: https://github.com/astral-sh/ruff-pre-commit
- rev: v0.15.15
+ rev: v0.15.20
hooks:
- id: ruff-check
args: ["--fix", "--show-fixes"]
@@ -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.47.0"
+ rev: "v1.48.0"
hooks:
- id: typos
args: []
@@ -144,14 +144,14 @@
# PyLint has native support - not always usable, but works for us
- repo: https://github.com/PyCQA/pylint
- rev: "v4.0.5"
+ rev: "v4.0.6"
hooks:
- id: pylint
files: ^pybind11
# Check schemas on some of our YAML files
- repo: https://github.com/python-jsonschema/check-jsonschema
- rev: 0.37.2
+ rev: 0.37.4
hooks:
- id: check-readthedocs
- id: check-github-workflows