pycycle
pycycle copied to clipboard
Misses cycles not reachable from the first file found
$ echo import c > b.py
$ echo import b > c.py
$ ls
b.py c.py
$ pycycle --here
Project successfully transformed to AST, checking imports for cycles..
Cycle Found :(
b -> c: Line 1 =>> b
Finished.
$ touch a.py
$ ls
a.py b.py c.py
$ pycycle --here
Project successfully transformed to AST, checking imports for cycles..
No worries, no cycles here!
If you think some cycle was missed, please open an Issue on Github.
Finished.
Not sure if this is related, but also misses cycles through module imports with an __init__.py.