diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 8c5819882547f15ea88a3026ca129bc05a010d41..e1f18764c6a5705427aa986d2f48fe74f937cfe9 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -38,6 +38,6 @@ repos:
       - id: black
 
   - repo: https://github.com/pycqa/flake8
-    rev: 6.0.0
+    rev: 7.1.2
     hooks:
       - id: flake8