Skip to content

Commit d52ba06

Browse files
committed
Update code_context_extractor.py
1 parent 8debda7 commit d52ba06

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

codeflash/context/code_context_extractor.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -407,7 +407,7 @@ def get_function_sources_from_jedi(
407407
for name in names:
408408
try:
409409
definitions: list[Name] = name.goto(follow_imports=True, follow_builtin_imports=False)
410-
except Exception: # noqa: BLE001
410+
except Exception:
411411
logger.debug(f"Error while getting definitions for {qualified_function_name}")
412412
definitions = []
413413
if definitions:
@@ -780,4 +780,4 @@ def prune_cst_for_testgen_code(
780780
if updates:
781781
return (node.with_changes(**updates), found_any_target)
782782

783-
return None, False
783+
return None, False

0 commit comments

Comments
 (0)