From 759e1ebceaa6e1c19a0f3d0237a4cc3ba94dca73 Mon Sep 17 00:00:00 2001
From: Miguel Prada <miguel.prada@tecnalia.com>
Date: Wed, 24 Jan 2024 10:04:06 +0100
Subject: [PATCH] Remove py2-flake8_extended job

---
 ci-templates/python.yml | 9 +--------
 1 file changed, 1 insertion(+), 8 deletions(-)

diff --git a/ci-templates/python.yml b/ci-templates/python.yml
index 61d476a..e900b5a 100644
--- a/ci-templates/python.yml
+++ b/ci-templates/python.yml
@@ -8,9 +8,7 @@
 .flake8_extended_template:
   stage: .post
   before_script:
-    - ${PYTHON_VERSION} -m pip install flake8 flake8-isort flake8-builtins
-    # The following flake8 extensions only work on python3
-    - ${PYTHON_VERSION} -m pip install flake8-eradicate flake8-functions-names flake8-return flake8-functions || true
+    - ${PYTHON_VERSION} -m pip install flake8 flake8-isort flake8-builtins flake8-eradicate flake8-functions-names flake8-return flake8-functions
   script: ${PYTHON_VERSION} -m flake8 --max-line-length 120 --statistics --show-source .
   allow_failure: true
 
@@ -49,11 +47,6 @@
     - .flake8_extended_template
     - .py3_template
 
-.py2-flake8_extended:
-  extends:
-    - .flake8_extended_template
-    - .py2_template
-
 .py3-security:
   extends:
     - .security_template
-- 
GitLab