Skip to content

Commit c3b9243

Browse files
committed
mypy fix
1 parent 302e919 commit c3b9243

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

codeflash/context/code_context_extractor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -399,7 +399,7 @@ def remove_docstring_from_body(indented_block: cst.IndentedBlock) -> cst.CSTNode
399399
return indented_block
400400

401401
def parse_code_and_prune_cst(
402-
code: str, code_context_type: CodeContextType, target_functions: set[str], helpers_of_helper_functions: set[str] = {}, remove_docstrings: bool = False
402+
code: str, code_context_type: CodeContextType, target_functions: set[str], helpers_of_helper_functions: set[str] = set(), remove_docstrings: bool = False
403403
) -> str:
404404
"""Create a read-only version of the code by parsing and filtering the code to keep only class contextual information, and other module scoped variables. """
405405
module = cst.parse_module(code)

0 commit comments

Comments
 (0)