We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8128559 commit 48716a1Copy full SHA for 48716a1
codeflash/context/code_context_extractor.py
@@ -491,8 +491,7 @@ def parse_code_and_prune_cst(
491
module, target_functions, helpers_of_helper_functions, remove_docstrings=remove_docstrings
492
)
493
else:
494
- msg = f"Unknown code_context_type: {code_context_type}"
495
- raise ValueError(msg)
+ raise ValueError(f"Unknown code_context_type: {code_context_type}") # noqa: EM102
496
497
if not found_target:
498
raise ValueError("No target functions found in the provided code")
0 commit comments