From fa4ecebc182c88e71592a587ada7298a36f50498 Mon Sep 17 00:00:00 2001
From: "Saralegui Vallejo, Unai" <unai.saralegui@tecnalia.com>
Date: Tue, 11 May 2021 12:45:06 +0200
Subject: [PATCH] Update pylint.yml

process exit of pylint to avoid always getting errors (pylint uses the output to show the error/message type)
---
 python-packages/pylint.yml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/python-packages/pylint.yml b/python-packages/pylint.yml
index 8d60300..cf05d54 100644
--- a/python-packages/pylint.yml
+++ b/python-packages/pylint.yml
@@ -4,8 +4,8 @@ pylint:
   image: $ACR_URL/python:3.8
   tags:
     - docker
-  allow_failure: true
   script:
     - source $VIRTUALENV_NAME/bin/activate
     - pip install pylint
-    - pylint -d C0301 $MODULE_FOLDER
+    - pip install pylint-exit
+    - pylint -d C0301 $MODULE_FOLDER || pylint-exit $?
-- 
GitLab