diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index d3f4baffd36d85f8c682d52d337cdb2dad33f6dd..077cd80a1199e34c1c89055ca1862f80976090d3 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -73,7 +73,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