MCPcopy Create free account
hub / github.com/Houseofmvps/codesight / addPythonDep

Function addPythonDep

src/scanner.ts:1221–1225  ·  view source on GitHub ↗
(rawName: string, deps: string[])

Source from the content-addressed store, hash-verified

1219}
1220
1221function addPythonDep(rawName: string, deps: string[]): void {
1222 const name = rawName.trim().toLowerCase().replace(/_/g, "-");
1223 if (!name || name === "python" || name.startsWith("#") || deps.includes(name)) return;
1224 deps.push(name);
1225}
1226
1227async function goImportUsed(root: string, importStr: string): Promise<boolean> {
1228 try {

Callers 2

parsePyprojectPoetryDepsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected