diff --git a/template/.pre-commit-config.yaml b/template/.pre-commit-config.yaml
index 18d1071f9ab2a101e88da8a7dd3fc5adb36c3538..ed5cb7f6d434f464b9f364a3984a16e8966107d0 100644
--- a/template/.pre-commit-config.yaml
+++ b/template/.pre-commit-config.yaml
@@ -1,6 +1,6 @@
 repos:
   - repo: https://github.com/pre-commit/pre-commit-hooks
-    rev: v4.4.0
+    rev: v5.0.0
     hooks:
       - id: trailing-whitespace
       - id: end-of-file-fixer