[Zope3-Users] imports cleanup
Albertas Agejevas
alga at pov.lt
Wed Mar 14 21:46:41 EDT 2007
On Thu, Mar 15, 2007 at 01:52:51AM +0100, Christophe Combelles wrote:
> 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
> ?
Well, people have been using tools like that to clean up Zope 3 itself
in the past. Googling for 'python import checker' finds at least two
tools that should do the job: PyChecker, python-import-check.
Albertas
More information about the Zope3-users
mailing list