[Zope3-Users] Utility for removing unneeded import statements

Marius Gedminas mgedmin at b4net.lt
Tue Jun 5 14:00:14 EDT 2007


On Tue, Jun 05, 2007 at 06:10:36PM +0200, Adam Groszer wrote:
> Hello Marius,
> 
> Tuesday, June 5, 2007, 6:03:52 PM, you wrote:
> 
> 
> > pyflakes doesn't handle imports that are used by doctests only, e.g.:
> ...
> > Can the import checker in Z3 handle this?
> 
> I don't think so. As I remember it did not find all unnecessary
> imports, that's why I switched to pyflakes.

By "pyflakes doesn't handle" I meant it found too many unnecessary
imports, some of which were actually very necessary (for the doctests).  

Marius Gedminas
-- 
>Linux is not user-friendly.
It _is_ user-friendly.  It is not ignorant-friendly and idiot-friendly.
(Seen somewhere on the net.)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://mail.zope.org/pipermail/zope3-users/attachments/20070605/a3728f3e/attachment.bin


More information about the Zope3-users mailing list