diff --git a/templates/pre-commit.yml b/templates/pre-commit.yml
index dee7229f9695ab939be5e5ac71676f81bddfde23..c3efaa678be9f9ffc4b68d00aa78f92179e1bc65 100644
--- a/templates/pre-commit.yml
+++ b/templates/pre-commit.yml
@@ -3,7 +3,7 @@
   stage: lint
   needs: []
 
-  image: python:3.11
+  image: python:3.12
   variables:
     PIP_CACHE_DIR: $CI_PROJECT_DIR/.cache/pip
     PRE_COMMIT_HOME: $CI_PROJECT_DIR/.cache/pre-commit