diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 877a56db85c8a53caba324a6de9d79db690d3778..2496d30c83a12e2cb672e1c5596cec3ee112522a 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -96,7 +96,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