From 36dcb387959056595ec77363ca6959da60357d15 Mon Sep 17 00:00:00 2001 From: Nikolas Date: Fri, 5 Jul 2024 16:13:57 -0700 Subject: [PATCH] linter --- primesieve/primesieve.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/primesieve/primesieve.py b/primesieve/primesieve.py index 4b88a77..1c8b4e0 100644 --- a/primesieve/primesieve.py +++ b/primesieve/primesieve.py @@ -36,7 +36,7 @@ command = command.rstrip() scores = [] start_time = current_time_ms() for i in range(3): - output = subprocess.check_output([command, "1e12", "--quiet", "--time"], text=True) + output = subprocess.check_output([command, "1e12", "--quiet", "--time"], text=True) SCORE_PATTERN = r'Seconds:\s(\d+\.\d+)' if "Seconds" in output: duration = re.match(SCORE_PATTERN, output).group(1) @@ -58,4 +58,4 @@ report = { } with open(os.path.join(log_dir, "report.json"), "w", encoding="utf-8") as report_file: - report_file.write(json.dumps(report)) \ No newline at end of file + report_file.write(json.dumps(report))