From c14ecee68e1adb9633d1f3a6906474a78fb8f29d Mon Sep 17 00:00:00 2001 From: Dorian Turba <froggit.commit.z3jqj@simplelogin.com> Date: Thu, 20 Jul 2023 14:58:02 +0200 Subject: [PATCH] update python_install README.md --- templates/python/partial/README.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/templates/python/partial/README.md b/templates/python/partial/README.md index 2c52b49..3a9a3f7 100644 --- a/templates/python/partial/README.md +++ b/templates/python/partial/README.md @@ -23,18 +23,18 @@ consistent configuration across CI jobs that rely on a python environment. ## -```yml +```yaml include: - - remote: 'https://api.r2devops.io/job/r/gitlab/dorianturba/r2devops_catalog/python_install@1.0.0.yaml' + # Include the python_install job template (don't forget to replace the version tag) + - remote: 'https://api.r2devops.io/job/r/gitlab/dorianturba/r2devops_catalog/python_install@1.0.0.yaml' flake8: - extend: python_install + extends: + - .python_install # extends the python_install job template stage: code_quality variables: - PROJECT_PATH: "." - IMAGE_TAG: "3.10" - PYTHON_SETUP: "pip install ${PROJECT_PATH}[CODE_QUALITY]" + PYTHON_SETUP: "pip install flake8" # override the default PYTHON_SETUP variable script: - python_install + - !reference [.python_install, script] # reuse the script from the python_install job template - flake8 ${PROJECT_PATH} -v ``` -- GitLab