diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 4d6fcc0..9d0c5f9 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -1,7 +1,7 @@
 repos:
   - repo: https://github.com/astral-sh/ruff-pre-commit
     # Ruff version.
-    rev: 'v0.5.0'
+    rev: 'v0.6.9'
     hooks:
       - id: ruff
         args: [xontrib, --fix, --exit-non-zero-on-fix]
@@ -11,13 +11,13 @@ repos:
         pass_filenames: false
 
   - repo: https://github.com/pre-commit/mirrors-mypy
-    rev: 'v1.10.1'  # Use the sha / tag you want to point at
+    rev: 'v1.11.2'  # Use the sha / tag you want to point at
     hooks:
       - id: mypy
         pass_filenames: false
         args: ['xontrib', '--ignore-missing-imports']
   - repo: https://github.com/pre-commit/pre-commit-hooks
-    rev: v4.6.0
+    rev: v5.0.0
     hooks:
       - id: trailing-whitespace
         exclude: |