diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 3797d524..8ee30ccb 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -2,7 +2,7 @@ exclude: "test_data/*.*"
 
 repos:
 - repo: https://github.com/pre-commit/pre-commit-hooks
-  rev: v4.6.0
+  rev: v5.0.0
   hooks:
     - id: check-added-large-files
       args: [--maxkb=32000]
@@ -14,7 +14,7 @@ repos:
     - id: trailing-whitespace
 
 - repo: https://github.com/astral-sh/ruff-pre-commit
-  rev: v0.3.7
+  rev: v0.8.3
   hooks:
     - id: ruff
       args: [--fix, --exit-non-zero-on-fix]