From baab6cd0eb5d2d964357f0dbb85888fa3c8fb828 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 32002bac..119f512b 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