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

With E0401 import disabled
---
 .gitlab-ci.yml | 1 -
 pyproject.toml | 2 +-
 2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 66a219a..c614c5f 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -62,7 +62,6 @@ lint:
   stage: tests
   tags: [redshift]
   script:
-    - poetry install
     - make pylint
 
 .tests:
diff --git a/pyproject.toml b/pyproject.toml
index 5c0d353..dd9a53c 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -48,6 +48,6 @@ profile = "black"
 src_paths = ["duniterpy", "tests", "examples"]
 
 [tool.pylint.messages_control]
-disable = "C,R0401,R0801,R0902,R0903,R0904,R0912,R0913,R0914,R0915,W0613"
+disable = "C,E0401,R0401,R0801,R0902,R0903,R0904,R0912,R0913,R0914,R0915,W0613"
 enable = "C0121,C0202,C0321"
 jobs = 0
-- 
GitLab