diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 5f37867566eb592d921ab20bad502b64a3edefc2..b43537485bd1cb3ddbef84c6b31c9c5377237c55 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -3,12 +3,12 @@ ci:
 exclude: tests/test_python-syntax_error.py
 repos:
 -   repo: https://github.com/pre-commit/mirrors-clang-format
-    rev: v18.1.2
+    rev: v18.1.3
     hooks:
     -   id: clang-format
         args: [-i, --style=Google]
 -   repo: https://github.com/pre-commit/pre-commit-hooks
-    rev: v4.5.0
+    rev: v4.6.0
     hooks:
     -   id: trailing-whitespace
     -   id: check-added-large-files