diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index e6334a2368345229f6bdb77c2b59866bcdcf6f0a..0cf5eae9c2c87b252d8ec80c4b4a596dbe1e2747 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -6,7 +6,7 @@ repos:
     hooks:
       - id: black
   - repo: https://github.com/pycqa/docformatter
-    rev: v1.6.0.rc1
+    rev: v1.5.1
     hooks:
       - id: docformatter
   - repo: https://github.com/pycqa/isort
diff --git a/src/bob/io/base/testing_utils.py b/src/bob/io/base/testing_utils.py
index 88cb913add9ae23b0b4beea3a4987493192c0ca1..c1823241e16ccdd0dd0bac6b7f96fc8a12294370 100644
--- a/src/bob/io/base/testing_utils.py
+++ b/src/bob/io/base/testing_utils.py
@@ -101,6 +101,7 @@ def extension_available(extension):
        def my_test():
          ...
     """
+
     def test_wrapper(test):
         @functools.wraps(test)
         def wrapper(*args, **kwargs):