Skip to content

Commit b8bc645

Browse files
committed
redundant Path() calls
1 parent 252381f commit b8bc645

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

codeflash/discovery/functions_to_optimize.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -460,8 +460,8 @@ def filter_functions(
460460
function
461461
for function in functions
462462
if not (
463-
Path(function.file_path).name in blocklist_funcs
464-
and function.qualified_name in blocklist_funcs[Path(function.file_path).name]
463+
function.file_path.name in blocklist_funcs
464+
and function.qualified_name in blocklist_funcs[function.file_path.name]
465465
)
466466
]
467467
filtered_modified_functions[file_path] = functions

0 commit comments

Comments
 (0)