From fd9606cb1ea77eec194ea9aaa5970754b4fe10e5 Mon Sep 17 00:00:00 2001 From: Lars Bilke <lars.bilke@ufz.de> Date: Fri, 9 Aug 2024 13:41:06 +0200 Subject: [PATCH] Ran black formatting. --- ogscm/building_blocks/osu_benchmarks.py | 8 ++++---- ogscm/building_blocks/paraview.py | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/ogscm/building_blocks/osu_benchmarks.py b/ogscm/building_blocks/osu_benchmarks.py index f224160..5dbb4cc 100644 --- a/ogscm/building_blocks/osu_benchmarks.py +++ b/ogscm/building_blocks/osu_benchmarks.py @@ -103,10 +103,10 @@ class osu_benchmarks( # Environment libexec_path = "{0}/libexec/osu-micro-benchmarks/mpi".format(self.prefix) - self.__environment_variables[ - "PATH" - ] = "{0}/collective:{0}/one-sided:{0}/pt2pt:{0}/startup::$PATH".format( - libexec_path + self.__environment_variables["PATH"] = ( + "{0}/collective:{0}/one-sided:{0}/pt2pt:{0}/startup::$PATH".format( + libexec_path + ) ) # Labels diff --git a/ogscm/building_blocks/paraview.py b/ogscm/building_blocks/paraview.py index e197798..44f8772 100644 --- a/ogscm/building_blocks/paraview.py +++ b/ogscm/building_blocks/paraview.py @@ -126,9 +126,9 @@ class paraview( if self.ldconfig: self += shell(commands=[self.ldcache_step(directory=libpath)]) else: - self.__environment_variables[ - "LD_LIBRARY_PATH" - ] = "{}:$LD_LIBRARY_PATH".format(libpath) + self.__environment_variables["LD_LIBRARY_PATH"] = ( + "{}:$LD_LIBRARY_PATH".format(libpath) + ) self += environment(variables=self.__environment_variables) -- GitLab