jehiah/pyflakes — pull request #1 by jedp (2012-02-10 06:01:27+00:00)
Title: memoize readlines call

Hi, jehiah,

I like your update to pyflakes. It's really helpful to be able to suppress warnings on things that aren't in fact errors.

In case a particular file has more than one "ignore" pragma, it would save work to memoize the lines in the file so they aren't re-read each time the pragma is encountered.

Cheers,
j