Skip to content

Commit

Permalink
don't use f-strings without a placeholder
Browse files Browse the repository at this point in the history
  • Loading branch information
boegel committed Oct 7, 2023
1 parent 219be7c commit 9ab36ed
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion easybuild/tools/run.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ def pad_4_spaces(msg):
cmd_name = err.cmd.split(' ')[0]
error_info = [
'',
f"ERROR: Shell command failed!",
"ERROR: Shell command failed!",
pad_4_spaces(f"full command -> {err.cmd}"),
pad_4_spaces(f"exit code -> {err.exit_code}"),
pad_4_spaces(f"working directory -> {err.work_dir}"),
Expand Down
2 changes: 1 addition & 1 deletion test/framework/toy_build.py
Original file line number Diff line number Diff line change
Expand Up @@ -4087,7 +4087,7 @@ def pre_configure_hook(self, *args, **kwargs):
args = [
toy_ec,
f'--hooks={hooks_file}',
f'--force',
'--force',
f'--installpath={self.test_prefix}',
f'--include-easyblocks={toy_eb}',
]
Expand Down

0 comments on commit 9ab36ed

Please sign in to comment.