diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 79509b6ecdc4ac500b14d40cb7a5afb243997ca8..f2ead435af06e5730da29da555d1dd65f9ddb8c9 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -1,12 +1,12 @@
 exclude: tests/test_python-syntax_error.py
 repos:
 -   repo: https://github.com/pre-commit/mirrors-clang-format
-    rev: v14.0.3
+    rev: v14.0.4-1
     hooks:
     -   id: clang-format
         args: [-i, --style=Google]
 -   repo: https://github.com/pre-commit/pre-commit-hooks
-    rev: v4.2.0
+    rev: v4.3.0
     hooks:
     -   id: trailing-whitespace
     -   id: check-added-large-files