diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index f0d315299f86de24c683b0231e616654891526f5..bf356d076295dce808daf3f84ffeb67011777a56 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -103,7 +103,7 @@ repos:
           - bandit
           - pyroma
 
-  - repo: https://gitlab.com/pycqa/flake8.git
+  - repo: https://github.com/pycqa/flake8.git
     rev: 3.9.2
     hooks:
       - id: flake8