diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index ba459e5c340c5ed6fb30de9669fcfcbf18f103c1..b528f218b77b5ba981f6adeefe9f3dd114b88b7c 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -3,7 +3,7 @@ ci:
 exclude: tests/test_python-syntax_error.py
 repos:
 -   repo: https://github.com/pre-commit/mirrors-clang-format
-    rev: v14.0.4-1
+    rev: v14.0.6
     hooks:
     -   id: clang-format
         args: [-i, --style=Google]
@@ -23,7 +23,7 @@ repos:
     -   id: mixed-line-ending
     -   id: trailing-whitespace
 -   repo: https://github.com/psf/black
-    rev: 22.3.0
+    rev: 22.6.0
     hooks:
     -   id: black
 -   repo: https://github.com/PyCQA/flake8