MCPcopy Index your code
hub / github.com/DeepLabCut/DeepLabCut / main

Function main

tools/find_import_cycles.py:108–119  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

106
107
108def main():
109 root = Path("deeplabcut") # change if needed
110 edges = internal_edges(root)
111 cycles = find_cycles(edges)
112
113 if not cycles:
114 print("No cycles found.")
115 return
116
117 print("Import cycles found:\n")
118 for cyc in cycles:
119 print(" -> ".join(cyc))
120
121
122if __name__ == "__main__":

Callers 1

Calls 2

internal_edgesFunction · 0.85
find_cyclesFunction · 0.85

Tested by

no test coverage detected