'Refactored by Sourcery' (#188)

This commit is contained in:
LopeKinz
2023-06-19 13:26:55 +02:00
committed by GitHub
parent 52a021f8de
commit ac958df8d7
4 changed files with 9 additions and 10 deletions

View File

@@ -23,7 +23,7 @@ def main(
benchmarks = []
for bench_folder in folders:
if os.path.isdir(bench_folder):
print("Running benchmark for {}".format(bench_folder))
print(f"Running benchmark for {bench_folder}")
log_path = bench_folder / "log.txt"
log_file = open(log_path, "w")
@@ -44,7 +44,7 @@ def main(
benchmarks.append((bench_folder, process, log_file))
print("You can stream the log file by running:")
print("tail -f {}".format(log_path))
print(f"tail -f {log_path}")
print()
for bench_folder, process, file in benchmarks: