Skip to content

Commit b32f5a3

Browse files
authored
Formatting in systemtests script (#705)
1 parent 2ee2031 commit b32f5a3

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

tools/tests/systemtests/Systemtest.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -84,10 +84,10 @@ def _get_length_of_name(results: List[SystemtestResult]) -> int:
8484
max_name_length = _get_length_of_name(results)
8585

8686
header = f"| {'systemtest':<{max_name_length + 2}} "\
87-
f"| {'success':^7} "\
88-
f"| {'building time [s]':^17} "\
89-
f"| {'solver time [s]':^15} "\
90-
f"| {'fieldcompare time [s]':^21} |"
87+
f"| {'success':^7} "\
88+
f"| {'building time [s]':^17} "\
89+
f"| {'solver time [s]':^15} "\
90+
f"| {'fieldcompare time [s]':^21} |"
9191
separator_plaintext = "+-" + "-" * (max_name_length + 2) + \
9292
"-+---------+-------------------+-----------------+-----------------------+"
9393
separator_markdown = "| --- | --- | --- | --- | --- |"
@@ -103,10 +103,10 @@ def _get_length_of_name(results: List[SystemtestResult]) -> int:
103103

104104
for result in results:
105105
row = f"| {str(result.systemtest):<{max_name_length + 2}} "\
106-
f"| {result.success:^7} "\
107-
f"| {result.build_time:^17.1f} "\
108-
f"| {result.solver_time:^15.1f} "\
109-
f"| {result.fieldcompare_time:^21.1f} |"
106+
f"| {result.success:^7} "\
107+
f"| {result.build_time:^17.1f} "\
108+
f"| {result.solver_time:^15.1f} "\
109+
f"| {result.fieldcompare_time:^21.1f} |"
110110
print(row)
111111
print(separator_plaintext)
112112
if "GITHUB_STEP_SUMMARY" in os.environ:

0 commit comments

Comments
 (0)