diff --git a/src/ptbench/utils/summary.py b/src/ptbench/utils/summary.py
index a9ff663147e16b82c1eb17ad9a19213101d4df81..9b8156457080808a284da53d547ff9559a7a5df7 100644
--- a/src/ptbench/utils/summary.py
+++ b/src/ptbench/utils/summary.py
@@ -27,8 +27,8 @@ def summary(model):
     nparam : int
         number of parameters
     """
-
-    def repr(model):
+    # ignore this space!
+    def _repr(model):
         # We treat the extra repr like the sub-module, one item per line
         extra_lines = []
         extra_repr = model.extra_repr()
@@ -38,13 +38,13 @@ def summary(model):
         child_lines = []
         total_params = 0
         for key, module in model._modules.items():
-            mod_str, num_params = repr(module)
+            mod_str, num_params = _repr(module)
             mod_str = _addindent(mod_str, 2)
             child_lines.append("(" + key + "): " + mod_str)
             total_params += num_params
         lines = extra_lines + child_lines
 
-        for name, p in model._parameters.items():
+        for _, p in model._parameters.items():
             if hasattr(p, "dtype"):
                 total_params += reduce(lambda x, y: x * y, p.shape)
 
@@ -60,4 +60,4 @@ def summary(model):
         main_str += f", {total_params:,} params"
         return main_str, total_params
 
-    return repr(model)
+    return _repr(model)