Skip to content

Commit eedd73d

Browse files
KRRT7claude[bot]
andauthored
Update code_context_extractor.py
Co-authored-by: claude[bot] <209825114+claude[bot]@users.noreply.github.com>
1 parent b269212 commit eedd73d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

codeflash/languages/python/context/code_context_extractor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -966,7 +966,7 @@ def extract_class_and_bases(
966966

967967
resolved_module = module_path.resolve()
968968
module_str = str(resolved_module)
969-
is_project = module_str.startswith(str(project_root_path.resolve()))
969+
is_project = module_str.startswith(str(project_root_path.resolve()) + os.sep)
970970
is_third_party = "site-packages" in module_str
971971
if not is_project and not is_third_party:
972972
continue

0 commit comments

Comments
 (0)