Skip to content
Snippets Groups Projects
Commit 35e946d1 authored by Martin Högstedt's avatar Martin Högstedt Committed by Johannes Kung
Browse files

Apply merge request review suggestions

parent c5b3f604
No related branches found
No related tags found
1 merge request!27Docstring refactor of core
Pipeline #132135 failed
......@@ -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.
"""
......
......@@ -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:
"""
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment