We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dd4577c commit c37505dCopy full SHA for c37505d
1 file changed
codeflash/code_utils/code_extractor.py
@@ -449,7 +449,7 @@ def resolve_star_import(module_name: str, project_root: Path) -> set[str]:
449
and isinstance(node.targets[0], ast.Name)
450
and node.targets[0].id == "__all__"
451
):
452
- if isinstance(node.value, (ast.list, ast.tuple)):
+ if isinstance(node.value, (ast.List, ast.Tuple)):
453
all_names = []
454
for elt in node.value.elts:
455
if isinstance(elt, ast.Constant) and isinstance(elt.value, str):
0 commit comments