diff --git a/templates/python/partial/README.md b/templates/python/partial/README.md
index 2c52b491db0308664c45a9d3cee18a8988f8475a..3a9a3f75c2824d0f33430b57158790d947c5e486 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
 ```