Hi Christophe,

you may want to take a look at pylint. www.logilab.org/project/name/pylint It is a coding standard checker, finding unused imports as well but does much more.

Cheers
-Tom

Christophe Combelles wrote:
Hello,

As I'm experimenting with various components, I'm adding more and more imports in the beginning of the python files, but at the end, most of them are unused.

Is there a tool or a method to automatically clean or detect unused imports ?

regards,
Christophe
_______________________________________________
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users

_______________________________________________
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users

Reply via email to