diff --git a/templates/gitlab-ci-python.yml b/templates/gitlab-ci-python.yml
index 55d0832e23eb10d04e219092b07474816872dec4..9a5759ab37b42a2fc842bff9ceede5c77660d428 100644
--- a/templates/gitlab-ci-python.yml
+++ b/templates/gitlab-ci-python.yml
@@ -969,7 +969,7 @@ py-isort:
   script:
     - install_requirements
     - _pip install isort
-    - _run isort . --check-only
+    - _run isort . --check-only --extend-skip .cache
   rules:
     # exclude if $PYTHON_ISORT_ENABLED not set
     - if: '$PYTHON_ISORT_ENABLED != "true"'