From 0b346b5db0434399cea06aa9a5373a414bf470f3 Mon Sep 17 00:00:00 2001
From: Remi Planel <rplanel@pasteur.fr>
Date: Tue, 31 Dec 2019 14:04:52 +0100
Subject: [PATCH] Add flake8 linting

---
 .gitlab-ci.yml | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index afc687e..33139e4 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:
-- 
GitLab