From b6e5d2f502f5c172aed51a1e02ca67546321e729 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 Move pylint job to checks stage since it's going faster With E0401 import disabled --- .gitlab-ci.yml | 3 +-- pyproject.toml | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 66a219a..f18141c 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -59,10 +59,9 @@ type: lint: extends: - .code_changes - stage: tests + stage: checks 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