From 7d34f8f3399e19b83dd07268e09a2c9cdcef2f57 Mon Sep 17 00:00:00 2001
From: Moul <moul@moul.re>
Date: Wed, 12 May 2021 18:39:57 +0200
Subject: [PATCH] [ci] Run lint job with pylint from the image

Disable E0401 (import-error) which checks for run time dependencies
not found outside of Poetry virtual environment

Move lint job to 'checks' stage since it's going faster without
dev dependencies installation
---
 .gitlab-ci.yml | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index d75401d..e155c36 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -58,10 +58,9 @@ type:
 lint:
   extends:
     - .code_changes
-  stage: tests
+  stage: checks
   tags: [redshift]
   script:
-    - poetry install
     - make pylint
 
 .tests:
-- 
GitLab