diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index afc687e34045f75c7b7448837721e98b3b56ed4c..33139e4b5cde43e60f84eb1ce2381e53b2cf0cba 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,6 +1,7 @@
 image: python:3.7
 
 stages:
+  - lint
   - test
   - deploy
 
@@ -8,6 +9,12 @@ before_script:
   - pip install poetry
   - poetry install -v
 
+lint:
+  before_script:
+    - pip intall flake8
+  script:
+    - flake8 --max-line-length=88 crisprbact
+
 test:
   stage: test
   script: