Skip to content

Commit 22b5f02

Browse files
committed
format
1 parent d38a0b5 commit 22b5f02

2 files changed

Lines changed: 1 addition & 4 deletions

File tree

codeflash/languages/python/support.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -980,7 +980,7 @@ def parse_line_profile_results(self, line_profiler_output_file: Path) -> dict:
980980
if not line_profiler_output_file.exists():
981981
return {"timings": {}, "unit": 0, "str_out": ""}
982982
with line_profiler_output_file.open("rb") as f:
983-
stats = pickle.load(f) # noqa: S301
983+
stats = pickle.load(f)
984984
stats_dict["timings"] = stats.timings
985985
stats_dict["unit"] = stats.unit
986986
str_out = show_text(stats_dict)

codeflash/verification/parse_line_profile_test_output.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
import inspect
66
import linecache
77
import os
8-
from pathlib import Path
98

109
from codeflash.code_utils.tabulate import tabulate
1110

@@ -113,5 +112,3 @@ def show_text_non_python(stats: dict, line_contents: dict[tuple[str, int], str])
113112
)
114113
out_table += "\n"
115114
return out_table
116-
117-

0 commit comments

Comments
 (0)