diff --git a/ci-templates/python.yml b/ci-templates/python.yml index 61d476aadbad4820c1325ea65af993b783e55768..e900b5a2c1f6f1fbb9f2f40f00d218f0e3cfcab4 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