diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index d5f272529bdcb00fbd21ffac48135a0177502d13..7b5aa980ccec8c7fe1cfbed4292ec2044bb7a0d0 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -71,6 +71,8 @@ install:
   script:
     - poetry config virtualenvs.in-project true
     - poetry install --extras "pipeline"
+    # Remove pre-commit cache from Docker image to ensure that the latest version is used
+    - poetry run pre-commit clean
     - poetry run pre-commit install --install-hooks
 
 check-style:
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 960d2424e49dc59f43932a39fa30361c4e8fd68b..7f377a9d2502a6eee89d63790cff99ec1511bbc8 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -1,8 +1,8 @@
 repos:
-- repo: https://github.com/fastai/nbdev
-  rev: 2.3.31
-  hooks:
-  - id: nbdev_clean
+# - repo: https://github.com/fastai/nbdev
+#   rev: 2.3.31
+#   hooks:
+#   - id: nbdev_clean
 - repo: https://github.com/charliermarsh/ruff-pre-commit
   # Ruff version.
   rev: 'v0.11.2'
diff --git a/deploy/README.md b/deploy/README.md
index bb717ea04f91cd379b7d303f65d78b2b35cbed92..9ad6bafd4e11eb077923138adce7f36577dc0756 100644
--- a/deploy/README.md
+++ b/deploy/README.md
@@ -74,6 +74,7 @@ git fetch
 git switch relance_data
 git pull
 make install
+poetry run pre-commit clean
 poetry run pre-commit run --all-files --show-diff-on-failure
 ```