From 3884a7712b74c09d4216b856464d6c3cdd9e3476 Mon Sep 17 00:00:00 2001 From: Florian Fischer Date: Mon, 9 Mar 2020 19:34:31 +0100 Subject: fmt all src/allocators using yapf --- src/allocators/mesh.py | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'src/allocators/mesh.py') diff --git a/src/allocators/mesh.py b/src/allocators/mesh.py index 2391e23..4d99f4d 100644 --- a/src/allocators/mesh.py +++ b/src/allocators/mesh.py @@ -14,7 +14,6 @@ # # You should have received a copy of the GNU General Public License # along with allocbench. - """Mesh definition for allocbench""" from src.allocator import Allocator @@ -28,12 +27,14 @@ class Mesh(Allocator): def __init__(self, name, **kwargs): self.LD_PRELOAD = "{dir}/libmesh.so" - self.build_cmds = ["cd {srcdir}; ./configure", - "cd {srcdir}; make -j 4", - "mkdir -p {dir}", - "ln -f -s {srcdir}/libmesh.so {dir}/libmesh.so"] + self.build_cmds = [ + "cd {srcdir}; ./configure", "cd {srcdir}; make -j 4", + "mkdir -p {dir}", "ln -f -s {srcdir}/libmesh.so {dir}/libmesh.so" + ] super().__init__(name, **kwargs) -mesh = Mesh("Mesh", version="4a1012cee990cb98cc1ea0294a836f467b29be02", color="xkcd:mint") +mesh = Mesh("Mesh", + version="4a1012cee990cb98cc1ea0294a836f467b29be02", + color="xkcd:mint") -- cgit v1.2.3