diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 3e09da2469418517328ddab288da24613726bd5c..0e6433550fb6b2f6f604e37ab2903754df1ca3ac 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -111,7 +111,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