diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -5,10 +5,14 @@
   rev: v2.4.0
   hooks:
   - id: trailing-whitespace
-  - id: flake8
   - id: check-json
   - id: check-yaml
 
+- repo: https://gitlab.com/pycqa/flake8
+  rev: 3.8.3
+  hooks:
+  - id: flake8
+
 - repo: https://github.com/codespell-project/codespell
   rev: v1.16.0
   hooks: