File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -232,15 +232,15 @@ def get_functions_to_optimize(
232232
233233def get_functions_within_git_diff (uncommitted_changes : bool ) -> dict [str , list [FunctionToOptimize ]]: # noqa: FBT001
234234 modified_lines : dict [str , list [int ]] = get_git_diff (uncommitted_changes = uncommitted_changes )
235- return get_functions_inside_lines (modified_lines )
235+ return get_functions_within_lines (modified_lines )
236236
237237
238238def get_functions_inside_a_commit (commit_hash : str ) -> dict [str , list [FunctionToOptimize ]]:
239239 modified_lines : dict [str , list [int ]] = get_git_diff (only_this_commit = commit_hash )
240- return get_functions_inside_lines (modified_lines )
240+ return get_functions_within_lines (modified_lines )
241241
242242
243- def get_functions_inside_lines (modified_lines : dict [str , list [int ]]) -> dict [str , list [FunctionToOptimize ]]:
243+ def get_functions_within_lines (modified_lines : dict [str , list [int ]]) -> dict [str , list [FunctionToOptimize ]]:
244244 functions : dict [str , list [FunctionToOptimize ]] = {}
245245 for path_str , lines_in_file in modified_lines .items ():
246246 path = Path (path_str )
You can’t perform that action at this time.
0 commit comments