diff --git a/src/simudator/core/module.py b/src/simudator/core/module.py
index 9b305e51444b7b28cd48698f084c9e7cd5a97b53..473b82869df4136815bc1281df5c93ea0f9bffe5 100644
--- a/src/simudator/core/module.py
+++ b/src/simudator/core/module.py
@@ -136,7 +136,7 @@ class Module:
         raise NotImplementedError
 
     def get_longest_line_len(self, ignore_keys=None) -> int:
-        """return the length of the longest line when printing the module.
+        """Return the length of the longest line when printing the module.
 
         Helper function for pretty_print.
         """
diff --git a/src/simudator/processor/mia/modules/mia_memory.py b/src/simudator/processor/mia/modules/mia_memory.py
index 733f3ecb2b5a7829c9c08048316adfc9ca5c9858..6201a7d7e7ebd1d28296cecd4bb45d46eb746e27 100644
--- a/src/simudator/processor/mia/modules/mia_memory.py
+++ b/src/simudator/processor/mia/modules/mia_memory.py
@@ -73,7 +73,7 @@ class MiaMemory(MiaBusConnector, Memory):
 
     def reset(self) -> None:
         size = len(self._memory)
-        self._memory = [0 for i in range(size)]
+        self._memory = [0 for _ in range(size)]
 
     def load_from_str(self, state_string) -> None:
         """