diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index bf7584162f48f952d59155a2612c2f6b94f055e2..ec2282584be5cd9ae24c4ee1f67fcaec56c8445a 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -30,6 +30,6 @@ repos:
     hooks:
     -   id: black
 -   repo: https://github.com/PyCQA/flake8
-    rev: 4.0.1
+    rev: 5.0.2
     hooks:
     -   id: flake8