bndr / bndr/pycycle

not detecting various imports and missing cycles

Aperta
#5 1 commento 2 reazioni 0 assegnatari Vedi su GitHub
bug
Lingua principale
Python
Stelle
363
Fork
24
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

Hi,
it seems the tool doesn't process all the import syntax correctly. Not sure which ones it skips but I recommend checking into it:

import Package [as newname]
from Package import sub [as newname]
from .. import relativething [as newname]
from Foo import *

I don't know if the cycle detection is buggy or that the tool misses some imports (or both), but it doesn't find any cycle at all in my [Pyro4 ](https://github.com/irmen/Pyro4) project. But there sure are cycles! See https://github.com/irmen/Pyro4/issues/148 (the graphs are generated by my own cycle analisys tool + graphviz btw)

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.