pyflakes? (was: Re: [Framework-Team] Translation effort for Plone 3.1)

Martijn Pieters mj at zopatista.com
Fri Feb 1 11:04:56 UTC 2008


On Feb 1, 2008 11:51 AM, Andreas Zeidler <az at zitc.de> wrote:
> talking about "weeding out stuff" bring another thing to mind.  not
> exactly related to translations, but i'll throw it in here anyway:
> tools like pylint[1] and pyflakes[2] have really grown on me ever
> since i started using them.  imho they not only help with keeping code
> clean, but also with quickly catching typos and errors, effectively
> saving you a lot of time.

Careful with weeding imports. I recently had to fix a migration issue
for a customer, where a persistent tool had been moved into another
module with an import at the old location. Someone else then ran
pyflakes and removed said import, breaking the migration.

-- 
Martijn Pieters




More information about the Framework-Team mailing list